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.001119/0.00112, allocations: 100.1 kB / 15.88 MB, free: 12 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.001132/0.001132, allocations: 206.7 kB / 16.79 MB, free: 6.84 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.319/1.319, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 71.52 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1439, allocations: 76.17 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4244/0.5683, allocations: 161 MB / 0.713 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005733/0.5741, allocations: 4.634 MB / 0.7176 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.5745, allocations: 7.938 kB / 0.7176 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.5751, allocations: 95.36 kB / 0.7177 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.5765, allocations: 0.5058 MB / 0.7182 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.5783, allocations: 0.7237 MB / 0.7189 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009076/0.5792, allocations: 0.8069 MB / 0.7197 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.5796, allocations: 181.4 kB / 0.7198 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009184/0.5805, allocations: 430.4 kB / 0.7202 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.5811, allocations: 294.9 kB / 0.7205 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.5811, allocations: 12 kB / 0.7205 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.5828, allocations: 1.157 MB / 0.7217 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.5829, allocations: 87.77 kB / 0.7217 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.583, allocations: 119.4 kB / 0.7219 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00094/0.584, allocations: 0.7713 MB / 0.7226 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.584, allocations: 0 / 0.7226 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.72e-07/0.584, allocations: 0 / 0.7226 GB, free: 12.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.584, allocations: 0 / 0.7226 GB, free: 12.31 MB / 0.545 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.0008648/0.5849, allocations: 0.5926 MB / 0.7232 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5849, allocations: 12.03 kB / 0.7232 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.585, allocations: 50.55 kB / 0.7233 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006613/0.5856, allocations: 79.5 kB / 0.7233 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.586, allocations: 287.4 kB / 0.7236 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.586, allocations: 15.98 kB / 0.7236 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.5861, allocations: 20 kB / 0.7236 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.5865, allocations: 280.2 kB / 0.7239 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5865, allocations: 7.875 kB / 0.7239 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.5866, allocations: 8 kB / 0.7239 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5866, allocations: 7.938 kB / 0.7239 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.587, allocations: 207.5 kB / 0.7241 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.5884, allocations: 1.245 MB / 0.7253 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.5887, allocations: 173 kB / 0.7255 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.5889, allocations: 108.2 kB / 0.7256 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.5896, allocations: 339.3 kB / 0.7259 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5897, allocations: 40.44 kB / 0.726 GB, free: 8.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5897, allocations: 4 kB / 0.726 GB, free: 8.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007293/0.5904, allocations: 277.1 kB / 0.7262 GB, free: 8.262 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.5905, allocations: 162.2 kB / 0.7264 GB, free: 8.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.5908, allocations: 283.5 kB / 0.7267 GB, free: 7.789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.5908, allocations: 37.7 kB / 0.7267 GB, free: 7.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.5909, allocations: 151.8 kB / 0.7268 GB, free: 7.594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.591, allocations: 43.36 kB / 0.7269 GB, free: 7.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.5911, allocations: 41.61 kB / 0.7269 GB, free: 7.504 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5912, allocations: 342.8 kB / 0.7273 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.5914, allocations: 63.95 kB / 0.7273 GB, free: 7.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.5916, allocations: 150.2 kB / 0.7275 GB, free: 6.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.5919, allocations: 211.5 kB / 0.7277 GB, free: 6.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.592, allocations: 0 / 0.7277 GB, free: 6.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004768/0.5924, allocations: 245.1 kB / 0.7279 GB, free: 6.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5925, allocations: 4 kB / 0.7279 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5925, allocations: 4 kB / 0.7279 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5925, allocations: 4 kB / 0.7279 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.5927, allocations: 43.91 kB / 0.7279 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5927, allocations: 4 kB / 0.728 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.5929, allocations: 35.92 kB / 0.728 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.5929, allocations: 15.94 kB / 0.728 GB, free: 6.332 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.5931, allocations: 146.1 kB / 0.7281 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5932, allocations: 27.72 kB / 0.7282 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.5937, allocations: 183.3 kB / 0.7283 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5937, allocations: 3.984 kB / 0.7283 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5937, allocations: 4 kB / 0.7283 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5937, allocations: 0 / 0.7283 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.5946, allocations: 0.8601 MB / 0.7292 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5946, allocations: 4 kB / 0.7292 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5947, allocations: 20.14 kB / 0.7292 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5947, allocations: 11.94 kB / 0.7292 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5948, allocations: 7.938 kB / 0.7292 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.5948, allocations: 4 kB / 0.7292 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5948, allocations: 0.7031 kB / 0.7292 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.5953, allocations: 335.5 kB / 0.7296 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.5954, allocations: 116.7 kB / 0.7297 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.5954, allocations: 12.09 kB / 0.7297 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5956, allocations: 19.92 kB / 0.7297 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.5957, allocations: 16.05 kB / 0.7297 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5957, allocations: 4 kB / 0.7297 GB, free: 4.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000213/0.5959, allocations: 237.9 kB / 0.7299 GB, free: 4.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5959, allocations: 0 / 0.7299 GB, free: 4.195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004567/0.5964, allocations: 91.98 kB / 0.73 GB, free: 4.105 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07021/0.6666, allocations: 0.9794 MB / 0.731 GB, free: 3.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.6672, allocations: 145.3 kB / 0.7311 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6673, allocations: 4.062 kB / 0.7311 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.6674, allocations: 63.84 kB / 0.7312 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.6683, allocations: 129.5 kB / 0.7313 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.6721, allocations: 2.826 MB / 0.7341 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.6725, allocations: 0.7521 MB / 0.7348 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000253/0.6727, allocations: 71.05 kB / 0.7349 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.6729, allocations: 75.41 kB / 0.7349 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.6729, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.6931, allocations: 8.182 MB / 0.7429 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.6933, allocations: 235.3 kB / 0.7432 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.001, allocations: 3.938 kB / 0.7432 GB, free: 6.582 MB / 0.5606 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/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)