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.0007911/0.0007912, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008626/0.0008627, allocations: 172.7 kB / 15.95 MB, free: 208 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.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.422 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.509/2.509, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8382, allocations: 142.3 MB / 0.9538 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1886/1.027, allocations: 163.1 MB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008206/1.035, allocations: 7.276 MB / 1.12 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/1.036, allocations: 11.94 kB / 1.12 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006188/1.036, allocations: 170.7 kB / 1.12 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/1.039, allocations: 0.8903 MB / 1.121 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/1.04, allocations: 0.5284 MB / 1.122 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001319/1.042, allocations: 1.298 MB / 1.123 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/1.042, allocations: 317.6 kB / 1.123 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/1.044, allocations: 0.6849 MB / 1.124 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/1.044, allocations: 426.5 kB / 1.124 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/1.044, allocations: 28 kB / 1.124 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/1.045, allocations: 0.5222 MB / 1.125 GB, free: 412 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/1.046, allocations: 139.6 kB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/1.046, allocations: 113.5 kB / 1.125 GB, free: 152 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/1.046, allocations: 0.5884 MB / 1.126 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.046, allocations: 0 / 1.126 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/1.046, allocations: 0 / 1.126 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.046, allocations: 0 / 1.126 GB, free: 15.56 MB / 0.8887 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.000981/1.047, allocations: 0.7287 MB / 1.127 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/1.047, allocations: 8.031 kB / 1.127 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.128e-05/1.047, allocations: 82.52 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/1.048, allocations: 151.2 kB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/1.049, allocations: 371.6 kB / 1.127 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.049, allocations: 29 kB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/1.049, allocations: 36 kB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/1.05, allocations: 454.4 kB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.05, allocations: 0 / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/1.05, allocations: 16 kB / 1.128 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/1.05, allocations: 11.95 kB / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/1.05, allocations: 331.7 kB / 1.128 GB, free: 13.25 MB / 0.8887 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.002054/1.052, allocations: 2.016 MB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/1.053, allocations: 244.2 kB / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/1.053, allocations: 160.8 kB / 1.13 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/1.054, allocations: 323.2 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.054, allocations: 30.56 kB / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/1.054, allocations: 0 / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24): time 0.001068/1.055, allocations: 478.1 kB / 1.131 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/1.055, allocations: 59.41 kB / 1.131 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/1.055, allocations: 394 kB / 1.132 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/1.055, allocations: 29.7 kB / 1.132 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/1.056, allocations: 232.2 kB / 1.132 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/1.056, allocations: 78.84 kB / 1.132 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/1.056, allocations: 8 kB / 1.132 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.056, allocations: 350.7 kB / 1.132 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/1.056, allocations: 111.9 kB / 1.132 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/1.056, allocations: 198.7 kB / 1.132 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/1.057, allocations: 141.4 kB / 1.133 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.057, allocations: 4 kB / 1.133 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005907/1.057, allocations: 370.5 kB / 1.133 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.057, allocations: 4 kB / 1.133 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.057, allocations: 4 kB / 1.133 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.057, allocations: 3.953 kB / 1.133 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/1.058, allocations: 63.91 kB / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/1.058, allocations: 7.938 kB / 1.133 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/1.058, allocations: 63.69 kB / 1.133 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/1.058, allocations: 8 kB / 1.133 GB, free: 7.605 MB / 0.8887 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.0001776/1.058, allocations: 165.8 kB / 1.133 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/1.058, allocations: 39.53 kB / 1.133 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/1.059, allocations: 378.4 kB / 1.134 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.059, allocations: 7.953 kB / 1.134 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.059, allocations: 0 / 1.134 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.059, allocations: 4 kB / 1.134 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/1.06, allocations: 0.9578 MB / 1.135 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.06, allocations: 0 / 1.135 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/1.061, allocations: 47.97 kB / 1.135 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.061, allocations: 4 kB / 1.135 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.061, allocations: 8 kB / 1.135 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.061, allocations: 3.938 kB / 1.135 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.061, allocations: 4 kB / 1.135 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/1.062, allocations: 0.6478 MB / 1.135 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/1.062, allocations: 144.6 kB / 1.135 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/1.062, allocations: 8 kB / 1.135 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/1.062, allocations: 32.03 kB / 1.136 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/1.062, allocations: 15.98 kB / 1.136 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/1.062, allocations: 11.98 kB / 1.136 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003227/1.063, allocations: 279.1 kB / 1.136 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/1.063, allocations: 4 kB / 1.136 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005041/1.063, allocations: 111.7 kB / 1.136 GB, free: 4.613 MB / 0.8887 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.001671/1.065, allocations: 1.259 MB / 1.137 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005568/1.065, allocations: 295.8 kB / 1.137 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.065, allocations: 4 kB / 1.137 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/1.066, allocations: 151.8 kB / 1.138 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/1.067, allocations: 212.3 kB / 1.138 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/1.07, allocations: 2.47 MB / 1.14 GB, free: 108 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/1.07, allocations: 0.8353 MB / 1.141 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003226/1.071, allocations: 95.41 kB / 1.141 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/1.071, allocations: 139.4 kB / 1.141 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/1.071, allocations: 4 kB / 1.141 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/1.096, allocations: 10.92 MB / 1.152 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/1.096, allocations: 234.6 kB / 1.152 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/3.107, allocations: 0 / 1.152 GB, free: 4.109 MB / 0.9044 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