Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009587, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7868, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1799/0.9667, allocations: 149.6 MB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00833/0.9751, allocations: 6.529 MB / 1.106 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006207/0.9757, allocations: 11.94 kB / 1.106 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.9766, allocations: 250.8 kB / 1.106 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.9789, allocations: 0.8217 MB / 1.107 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.9806, allocations: 0.581 MB / 1.108 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.9817, allocations: 0.6207 MB / 1.108 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005481/0.9823, allocations: 328.2 kB / 1.109 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.9841, allocations: 0.6933 MB / 1.109 GB, free: 380 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.9846, allocations: 322.9 kB / 1.11 GB, free: 56 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.9847, allocations: 24 kB / 1.11 GB, free: 32 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.9858, allocations: 439.3 kB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.986, allocations: 135.6 kB / 1.11 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.9861, allocations: 117.4 kB / 1.11 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006789/0.9868, allocations: 0.5222 MB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.9868, allocations: 4 kB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9868, allocations: 0 / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.9869, allocations: 0 / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001156/0.988, allocations: 0.7053 MB / 1.111 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.9881, allocations: 11.97 kB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.387e-05/0.9882, allocations: 78.53 kB / 1.112 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/0.9892, allocations: 155.3 kB / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.9897, allocations: 367.7 kB / 1.112 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.9898, allocations: 29 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.9898, allocations: 36 kB / 1.112 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.9905, allocations: 442.4 kB / 1.113 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.9906, allocations: 0 / 1.113 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.9906, allocations: 16 kB / 1.113 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.9906, allocations: 15.95 kB / 1.113 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.9912, allocations: 335.7 kB / 1.113 GB, free: 12.54 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.9935, allocations: 2.019 MB / 1.115 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.9939, allocations: 242.3 kB / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.9943, allocations: 145 kB / 1.115 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.9944, allocations: 34.56 kB / 1.115 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.9944, allocations: 0 / 1.115 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.001056/0.9955, allocations: 483.3 kB / 1.116 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9955, allocations: 55.41 kB / 1.116 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.9959, allocations: 386 kB / 1.116 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.996, allocations: 37.7 kB / 1.116 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.9962, allocations: 228.2 kB / 1.116 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.9962, allocations: 86.78 kB / 1.116 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.9963, allocations: 4 kB / 1.116 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9964, allocations: 350.8 kB / 1.117 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.9966, allocations: 111.9 kB / 1.117 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.9969, allocations: 190.8 kB / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.9972, allocations: 140.9 kB / 1.117 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9972, allocations: 0 / 1.117 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000637/0.9979, allocations: 378.2 kB / 1.118 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9979, allocations: 4 kB / 1.118 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.9979, allocations: 4 kB / 1.118 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9979, allocations: 7.953 kB / 1.118 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.9982, allocations: 63.91 kB / 1.118 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.9982, allocations: 224 / 1.118 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.9985, allocations: 67.44 kB / 1.118 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.9986, allocations: 8 kB / 1.118 GB, free: 7.262 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.9987, allocations: 162.6 kB / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.9988, allocations: 43.53 kB / 1.118 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.9995, allocations: 378.4 kB / 1.118 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.9995, allocations: 0 / 1.118 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9995, allocations: 7.953 kB / 1.118 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.9995, allocations: 3.984 kB / 1.118 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/1.001, allocations: 0.9574 MB / 1.119 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.001, allocations: 4 kB / 1.119 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/1.001, allocations: 39.98 kB / 1.119 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.001, allocations: 11.92 kB / 1.119 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/1.001, allocations: 8 kB / 1.119 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.001, allocations: 4.219 kB / 1.119 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.001, allocations: 4 kB / 1.119 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009855/1.002, allocations: 0.7271 MB / 1.12 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/1.002, allocations: 144.5 kB / 1.12 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/1.003, allocations: 4 kB / 1.12 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/1.003, allocations: 28.03 kB / 1.12 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/1.003, allocations: 27.97 kB / 1.12 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/1.003, allocations: 12 kB / 1.12 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002754/1.003, allocations: 279.1 kB / 1.12 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 4 kB / 1.12 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004613/1.004, allocations: 107.8 kB / 1.121 GB, free: 4.141 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/1.005, allocations: 1.817 MB / 1.122 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005957/1.006, allocations: 295.5 kB / 1.123 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.006, allocations: 0 / 1.123 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/1.006, allocations: 160.5 kB / 1.123 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.007, allocations: 212.2 kB / 1.123 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/1.011, allocations: 3.499 MB / 1.126 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.012, allocations: 0.8353 MB / 1.127 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003426/1.012, allocations: 99.41 kB / 1.127 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/1.012, allocations: 139.4 kB / 1.127 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/1.012, allocations: 0 / 1.127 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/1.035, allocations: 10.91 MB / 1.138 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/1.035, allocations: 233.1 kB / 1.138 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/3.011, allocations: 0 / 1.138 GB, free: 2.023 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat