Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_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.0006907/0.0006906, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007325/0.0007325, allocations: 171.9 kB / 16.58 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5909/0.5909, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.000274, allocations: 19.98 kB / 493.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.3657/0.4973, allocations: 148.2 MB / 0.7016 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.5014, allocations: 4.26 MB / 0.7058 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.5016, allocations: 7.938 kB / 0.7058 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.5019, allocations: 95.28 kB / 0.7059 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008198/0.5027, allocations: 370.2 kB / 0.7063 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.5038, allocations: 0.5283 MB / 0.7068 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005866/0.5044, allocations: 0.686 MB / 0.7074 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.5047, allocations: 153.3 kB / 0.7076 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.5053, allocations: 378.4 kB / 0.7079 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.5058, allocations: 267 kB / 0.7082 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.5058, allocations: 8 kB / 0.7082 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008916/0.5067, allocations: 0.5145 MB / 0.7087 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.5068, allocations: 79.77 kB / 0.7088 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.5068, allocations: 73.58 kB / 0.7089 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.5073, allocations: 415 kB / 0.7093 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5073, allocations: 0 / 0.7093 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5073, allocations: 7.875 kB / 0.7093 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.5073, allocations: 0 / 0.7093 GB, free: 14.86 MB / 0.5294 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.0006293/0.5079, allocations: 0.5499 MB / 0.7098 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.508, allocations: 12.03 kB / 0.7098 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.508, allocations: 54.55 kB / 0.7099 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.5086, allocations: 83.48 kB / 0.7099 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.5089, allocations: 271.6 kB / 0.7102 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5089, allocations: 12 kB / 0.7102 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.509, allocations: 23.95 kB / 0.7102 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.5094, allocations: 295.4 kB / 0.7105 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5094, allocations: 0 / 0.7105 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.5094, allocations: 8 kB / 0.7105 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5094, allocations: 7.984 kB / 0.7105 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.5098, allocations: 219.5 kB / 0.7107 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.511, allocations: 1.246 MB / 0.712 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.5113, allocations: 185 kB / 0.7121 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.5115, allocations: 116.2 kB / 0.7122 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.5121, allocations: 343.2 kB / 0.7126 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5121, allocations: 46.67 kB / 0.7126 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.5121, allocations: 0 / 0.7126 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0006314/0.5127, allocations: 297.3 kB / 0.7129 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.5128, allocations: 162.2 kB / 0.7131 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.513, allocations: 279.1 kB / 0.7133 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5131, allocations: 37.69 kB / 0.7134 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.5132, allocations: 147.8 kB / 0.7135 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.5132, allocations: 43.36 kB / 0.7135 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.5132, allocations: 4 kB / 0.7135 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.5133, allocations: 330.8 kB / 0.7139 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.5134, allocations: 71.94 kB / 0.7139 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.5136, allocations: 154.5 kB / 0.7141 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.5138, allocations: 88.33 kB / 0.7142 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5138, allocations: 0 / 0.7142 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004296/0.5143, allocations: 257.1 kB / 0.7144 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.5143, allocations: 4 kB / 0.7144 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5143, allocations: 7.938 kB / 0.7144 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.5143, allocations: 0 / 0.7144 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.5145, allocations: 48.11 kB / 0.7145 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5145, allocations: 7.984 kB / 0.7145 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.5147, allocations: 43.62 kB / 0.7145 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.5147, allocations: 8 kB / 0.7145 GB, free: 9.043 MB / 0.5294 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.0001099/0.5148, allocations: 145.8 kB / 0.7147 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.5149, allocations: 23.72 kB / 0.7147 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.5153, allocations: 205.2 kB / 0.7149 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5154, allocations: 0 / 0.7149 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5154, allocations: 4 kB / 0.7149 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5154, allocations: 4.031 kB / 0.7149 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.5162, allocations: 0.8666 MB / 0.7157 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5162, allocations: 0 / 0.7157 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5163, allocations: 32.08 kB / 0.7158 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.5163, allocations: 4 kB / 0.7158 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5163, allocations: 11.89 kB / 0.7158 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5163, allocations: 0 / 0.7158 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5163, allocations: 0 / 0.7158 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.5168, allocations: 355.4 kB / 0.7161 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.5169, allocations: 120.8 kB / 0.7162 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.5169, allocations: 0 / 0.7162 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5171, allocations: 19.84 kB / 0.7162 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.5171, allocations: 19.92 kB / 0.7163 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.5172, allocations: 4 kB / 0.7163 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001963/0.5174, allocations: 229.9 kB / 0.7165 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5174, allocations: 4.062 kB / 0.7165 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003605/0.5177, allocations: 95.92 kB / 0.7166 GB, free: 6.777 MB / 0.5294 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.0009572/0.5187, allocations: 0.9815 MB / 0.7175 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.519, allocations: 168.1 kB / 0.7177 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.519, allocations: 3.938 kB / 0.7177 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.5192, allocations: 63.91 kB / 0.7178 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.5198, allocations: 124.8 kB / 0.7179 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.5218, allocations: 1.578 MB / 0.7194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5221, allocations: 0.7599 MB / 0.7202 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.5223, allocations: 63.81 kB / 0.7202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.5224, allocations: 75.36 kB / 0.7203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5224, allocations: 3.938 kB / 0.7203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.5383, allocations: 7.9 MB / 0.728 GB, free: 11.12 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.5385, allocations: 227.7 kB / 0.7282 GB, free: 10.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.162, allocations: 3.938 kB / 0.7282 GB, free: 10.87 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: