Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.0008399/0.0008399, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008792/0.0008794, allocations: 168.7 kB / 15.95 MB, free: 204 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.432/1.432, allocations: 223.2 MB / 240 MB, free: 5.441 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.573/2.573, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003978, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8778/0.8783, allocations: 142.3 MB / 0.9538 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1797/1.058, allocations: 148.2 MB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005581/1.064, allocations: 4.26 MB / 1.103 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/1.064, allocations: 7.938 kB / 1.103 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/1.064, allocations: 91.34 kB / 1.103 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/1.066, allocations: 374.1 kB / 1.103 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/1.067, allocations: 0.5247 MB / 1.104 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007833/1.068, allocations: 0.686 MB / 1.104 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/1.068, allocations: 165.2 kB / 1.105 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008458/1.069, allocations: 374.5 kB / 1.105 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/1.07, allocations: 278.9 kB / 1.105 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/1.07, allocations: 8 kB / 1.105 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/1.071, allocations: 0.5145 MB / 1.106 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/1.071, allocations: 79.77 kB / 1.106 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/1.071, allocations: 73.52 kB / 1.106 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/1.072, allocations: 411.2 kB / 1.106 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.072, allocations: 0 / 1.106 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/1.072, allocations: 0 / 1.106 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.072, allocations: 0 / 1.106 GB, free: 3.688 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008967/1.073, allocations: 0.5645 MB / 1.107 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.073, allocations: 8.031 kB / 1.107 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/1.073, allocations: 54.55 kB / 1.107 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/1.073, allocations: 75.61 kB / 1.107 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/1.074, allocations: 279.5 kB / 1.107 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.074, allocations: 12 kB / 1.107 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/1.074, allocations: 20 kB / 1.107 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/1.074, allocations: 287.4 kB / 1.107 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.074, allocations: 0 / 1.107 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/1.074, allocations: 8 kB / 1.107 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.074, allocations: 4 kB / 1.107 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/1.075, allocations: 223.6 kB / 1.108 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/1.076, allocations: 1.257 MB / 1.109 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/1.077, allocations: 181 kB / 1.109 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/1.077, allocations: 124.2 kB / 1.109 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/1.078, allocations: 339.3 kB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.078, allocations: 42.62 kB / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/1.078, allocations: 0 / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007529/1.079, allocations: 289.5 kB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/1.079, allocations: 162.3 kB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/1.079, allocations: 283 kB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/1.079, allocations: 33.7 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.079, allocations: 147.8 kB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/1.079, allocations: 47.34 kB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/1.079, allocations: 4 kB / 1.111 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.079, allocations: 334.8 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/1.079, allocations: 76.31 kB / 1.111 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/1.08, allocations: 140.5 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/1.08, allocations: 103.8 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.08, allocations: 3.938 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005037/1.08, allocations: 253.1 kB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.08, allocations: 4 kB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.08, allocations: 4.25 kB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.08, allocations: 4 kB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/1.081, allocations: 43.91 kB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.081, allocations: 4 kB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/1.081, allocations: 39.67 kB / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/1.081, allocations: 8 kB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001542/1.081, allocations: 157.7 kB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.081, allocations: 23.72 kB / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/1.082, allocations: 193.9 kB / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.082, allocations: 0 / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.082, allocations: 4 kB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.082, allocations: 3.984 kB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/1.083, allocations: 0.8704 MB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.083, allocations: 4.156 kB / 1.113 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.083, allocations: 27.97 kB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.083, allocations: 4 kB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/1.083, allocations: 4 kB / 1.113 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.083, allocations: 3.938 kB / 1.113 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.083, allocations: 4 kB / 1.113 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/1.084, allocations: 355.3 kB / 1.113 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.084, allocations: 124.8 kB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/1.084, allocations: 0 / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.084, allocations: 8.094 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/1.084, allocations: 23.88 kB / 1.113 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.084, allocations: 8.062 kB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002672/1.084, allocations: 229.9 kB / 1.113 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 3.938 kB / 1.113 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004868/1.085, allocations: 91.98 kB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001212/1.086, allocations: 0.9805 MB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003685/1.086, allocations: 152 kB / 1.115 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.086, allocations: 0 / 1.115 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/1.086, allocations: 71.95 kB / 1.115 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/1.087, allocations: 124.1 kB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/1.09, allocations: 1.592 MB / 1.116 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/1.09, allocations: 0.7599 MB / 1.117 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002687/1.091, allocations: 70.88 kB / 1.117 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/1.091, allocations: 75.41 kB / 1.117 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of SimCode: time 1.102e-06/1.091, allocations: 0 / 1.117 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/1.115, allocations: 7.914 MB / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.115, allocations: 217.3 kB / 1.125 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/3.058, allocations: 0 / 1.125 GB, free: 15.66 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat does not exist to compare? outputFormat=mat