Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001372/0.001371, allocations: 99.08 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.001431/0.001431, allocations: 177.3 kB / 15.95 MB, free: 216 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.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.363/2.363, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005838/0.0005839, allocations: 20 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7936, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1549/0.9485, allocations: 140.3 MB / 1.091 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005958/0.9545, allocations: 5.255 MB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.9549, allocations: 11.94 kB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.9557, allocations: 191.1 kB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.9571, allocations: 0.5725 MB / 1.097 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.9581, allocations: 351.6 kB / 1.097 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.9586, allocations: 424 kB / 1.097 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.959, allocations: 217.3 kB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008708/0.9598, allocations: 434.7 kB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.9601, allocations: 191.3 kB / 1.098 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.9602, allocations: 16 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.9607, allocations: 203.7 kB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.9608, allocations: 91.72 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.9608, allocations: 85.52 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.9612, allocations: 315.1 kB / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.9612, allocations: 0 / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9612, allocations: 0 / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.9613, allocations: 0 / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007664/0.962, allocations: 0.565 MB / 1.099 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9621, allocations: 8.031 kB / 1.099 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.9621, allocations: 70.41 kB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.9624, allocations: 63.5 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.9628, allocations: 289.5 kB / 1.1 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.9629, allocations: 20.55 kB / 1.1 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.9629, allocations: 31.95 kB / 1.1 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.9634, allocations: 323.6 kB / 1.1 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.9634, allocations: 4 kB / 1.1 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.9635, allocations: 8 kB / 1.1 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.9635, allocations: 8 kB / 1.1 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.9639, allocations: 213.5 kB / 1.1 GB, free: 9.441 MB / 0.8575 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.001555/0.9655, allocations: 1.534 MB / 1.102 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.9657, allocations: 126.5 kB / 1.102 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.9661, allocations: 133 kB / 1.102 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.9662, allocations: 34.56 kB / 1.102 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.9662, allocations: 7.938 kB / 1.102 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007404/0.9669, allocations: 295.7 kB / 1.102 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.967, allocations: 55.41 kB / 1.102 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.9673, allocations: 308.5 kB / 1.103 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.9673, allocations: 29.7 kB / 1.103 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.9674, allocations: 180.1 kB / 1.103 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.9675, allocations: 39.45 kB / 1.103 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.9675, allocations: 4 kB / 1.103 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.9677, allocations: 342.8 kB / 1.103 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.9678, allocations: 63.95 kB / 1.103 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.968, allocations: 118.1 kB / 1.103 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.9682, allocations: 83.89 kB / 1.104 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9682, allocations: 0 / 1.104 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004023/0.9686, allocations: 225.1 kB / 1.104 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9687, allocations: 8 kB / 1.104 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.9687, allocations: 0 / 1.104 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.9687, allocations: 4 kB / 1.104 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.9689, allocations: 40.12 kB / 1.104 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.9689, allocations: 0 / 1.104 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.9691, allocations: 39.67 kB / 1.104 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.9691, allocations: 11.94 kB / 1.104 GB, free: 5.566 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001311/0.9692, allocations: 149.8 kB / 1.104 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.9693, allocations: 27.72 kB / 1.104 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.9697, allocations: 216.3 kB / 1.104 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.9697, allocations: 4 kB / 1.104 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.9698, allocations: 0 / 1.104 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.9698, allocations: 4 kB / 1.104 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.9707, allocations: 0.699 MB / 1.105 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.9708, allocations: 4 kB / 1.105 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.9709, allocations: 35.91 kB / 1.105 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9709, allocations: 0 / 1.105 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.9709, allocations: 8 kB / 1.105 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.9709, allocations: 7.984 kB / 1.105 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.971, allocations: 224 / 1.105 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.9714, allocations: 437 kB / 1.105 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.9716, allocations: 116.8 kB / 1.105 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.9716, allocations: 4 kB / 1.105 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.9718, allocations: 23.94 kB / 1.106 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.9719, allocations: 11.98 kB / 1.106 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.9719, allocations: 8 kB / 1.106 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002079/0.9721, allocations: 219 kB / 1.106 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9721, allocations: 4 kB / 1.106 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003641/0.9725, allocations: 67.84 kB / 1.106 GB, free: 3.352 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001178/0.9736, allocations: 1.509 MB / 1.107 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.9741, allocations: 163.8 kB / 1.107 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9741, allocations: 3.938 kB / 1.107 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.9743, allocations: 88.64 kB / 1.108 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.975, allocations: 141.2 kB / 1.108 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.9776, allocations: 2.408 MB / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.9779, allocations: 0.7875 MB / 1.111 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.9781, allocations: 67.11 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.9783, allocations: 91.41 kB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.9783, allocations: 0 / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.9974, allocations: 7.514 MB / 1.118 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.9977, allocations: 222.4 kB / 1.118 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.788, allocations: 0 / 1.118 GB, free: 6.379 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat