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.001002/0.001002, allocations: 99.05 kB / 16.02 MB, free: 80 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.001259/0.001259, allocations: 181.4 kB / 16.92 MB, free: 6.777 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4327/0.5774, allocations: 158.9 MB / 0.7152 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006982/0.5844, allocations: 4.569 MB / 0.7197 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.5849, allocations: 7.938 kB / 0.7197 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.5854, allocations: 91.36 kB / 0.7198 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.5871, allocations: 0.5058 MB / 0.7202 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.589, allocations: 0.7208 MB / 0.7209 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.5903, allocations: 0.8108 MB / 0.7217 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.5907, allocations: 173.5 kB / 0.7219 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.5918, allocations: 430.4 kB / 0.7223 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006421/0.5924, allocations: 286.9 kB / 0.7226 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.5925, allocations: 12 kB / 0.7226 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.5945, allocations: 1.161 MB / 0.7237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.5946, allocations: 87.64 kB / 0.7238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.5948, allocations: 149.1 kB / 0.724 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.5964, allocations: 0.7557 MB / 0.7247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5964, allocations: 0 / 0.7247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5964, allocations: 4 kB / 0.7247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.5964, allocations: 0 / 0.7247 GB, free: 14.11 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.001055/0.5975, allocations: 0.5555 MB / 0.7252 GB, free: 13.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5975, allocations: 12.03 kB / 0.7253 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.134e-05/0.5976, allocations: 50.55 kB / 0.7253 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.5983, allocations: 83.52 kB / 0.7254 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.5988, allocations: 283.3 kB / 0.7257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.5988, allocations: 16 kB / 0.7257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.5989, allocations: 16 kB / 0.7257 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.5994, allocations: 288.1 kB / 0.726 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5994, allocations: 0 / 0.726 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.5995, allocations: 15.98 kB / 0.726 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.5995, allocations: 7.938 kB / 0.726 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.6, allocations: 223.5 kB / 0.7262 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.6017, allocations: 1.249 MB / 0.7274 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.6021, allocations: 181 kB / 0.7276 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.6023, allocations: 112.2 kB / 0.7277 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/0.6031, allocations: 347.2 kB / 0.728 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.6031, allocations: 39.56 kB / 0.7281 GB, free: 10.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.6031, allocations: 0 / 0.7281 GB, free: 10.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008161/0.604, allocations: 289.5 kB / 0.7283 GB, free: 10.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/0.6041, allocations: 166.1 kB / 0.7285 GB, free: 9.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.6044, allocations: 283 kB / 0.7288 GB, free: 9.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6044, allocations: 33.83 kB / 0.7288 GB, free: 9.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.6045, allocations: 151.8 kB / 0.7289 GB, free: 9.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.6046, allocations: 43.39 kB / 0.729 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.6047, allocations: 21.7 kB / 0.729 GB, free: 9.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6048, allocations: 343.1 kB / 0.7293 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.605, allocations: 67.95 kB / 0.7294 GB, free: 8.898 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.6052, allocations: 158.2 kB / 0.7296 GB, free: 8.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.6056, allocations: 219.5 kB / 0.7298 GB, free: 8.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6056, allocations: 0 / 0.7298 GB, free: 8.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005649/0.6062, allocations: 261.2 kB / 0.73 GB, free: 8.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6062, allocations: 8 kB / 0.73 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6063, allocations: 0 / 0.73 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6063, allocations: 7.984 kB / 0.73 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.6065, allocations: 43.92 kB / 0.7301 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6065, allocations: 4 kB / 0.7301 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.6067, allocations: 39.73 kB / 0.7301 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.6068, allocations: 18.56 kB / 0.7301 GB, free: 8.094 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.0001727/0.607, allocations: 149.8 kB / 0.7303 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6071, allocations: 23.72 kB / 0.7303 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.6077, allocations: 185.9 kB / 0.7305 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.6077, allocations: 11.98 kB / 0.7305 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6077, allocations: 0 / 0.7305 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6077, allocations: 4 kB / 0.7305 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.609, allocations: 0.8742 MB / 0.7313 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.609, allocations: 0 / 0.7313 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.6091, allocations: 23.98 kB / 0.7314 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.6092, allocations: 7.938 kB / 0.7314 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.6092, allocations: 4.875 kB / 0.7314 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6092, allocations: 8.156 kB / 0.7314 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6092, allocations: 0 / 0.7314 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.6099, allocations: 360.3 kB / 0.7317 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.61, allocations: 128.7 kB / 0.7318 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.6101, allocations: 4 kB / 0.7319 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.6103, allocations: 16.61 kB / 0.7319 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.6103, allocations: 8 kB / 0.7319 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.6103, allocations: 4 kB / 0.7319 GB, free: 6.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002552/0.6106, allocations: 237.9 kB / 0.7321 GB, free: 5.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6106, allocations: 0 / 0.7321 GB, free: 5.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005127/0.6111, allocations: 92 kB / 0.7322 GB, free: 5.828 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.001473/0.6126, allocations: 1.015 MB / 0.7332 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.613, allocations: 152.1 kB / 0.7333 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6131, allocations: 4.188 kB / 0.7333 GB, free: 4.629 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.6132, allocations: 67.89 kB / 0.7334 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/0.6141, allocations: 133.7 kB / 0.7335 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.6181, allocations: 2.87 MB / 0.7363 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.6185, allocations: 0.756 MB / 0.7371 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.6188, allocations: 67 kB / 0.7371 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.6189, allocations: 79.41 kB / 0.7372 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of SimCode: time 1.954e-06/0.6189, allocations: 0 / 0.7372 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.6412, allocations: 8.078 MB / 0.7451 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/0.6415, allocations: 232.3 kB / 0.7453 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.571, allocations: 0 / 0.7453 GB, free: 8.355 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)