Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.001122/0.001121, allocations: 105.3 kB / 16.41 MB, free: 6.488 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.001234/0.001234, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7357/0.7357, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 68.61 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 77.94 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5179/0.6543, allocations: 169.4 MB / 0.8095 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006611/0.661, allocations: 7.135 MB / 0.8165 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.6615, allocations: 11.91 kB / 0.8165 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.6621, allocations: 171.8 kB / 0.8167 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.665, allocations: 1.309 MB / 0.8179 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.6665, allocations: 0.6324 MB / 0.8186 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007387/0.6672, allocations: 0.7639 MB / 0.8193 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004268/0.6677, allocations: 289.7 kB / 0.8196 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.6687, allocations: 0.5916 MB / 0.8202 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.6694, allocations: 425.5 kB / 0.8206 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.6694, allocations: 27.31 kB / 0.8206 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.6712, allocations: 1.25 MB / 0.8218 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.6714, allocations: 120.2 kB / 0.8219 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.6715, allocations: 176.9 kB / 0.8221 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.6727, allocations: 0.9053 MB / 0.823 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6727, allocations: 2.344 kB / 0.823 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6727, allocations: 0 / 0.823 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6727, allocations: 4 kB / 0.823 GB, free: 7.453 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009634/0.6737, allocations: 0.7059 MB / 0.8237 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6737, allocations: 8.125 kB / 0.8237 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.093e-05/0.6738, allocations: 60.2 kB / 0.8237 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.6748, allocations: 128.4 kB / 0.8239 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.6754, allocations: 351.5 kB / 0.8242 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.6754, allocations: 46.98 kB / 0.8242 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.6755, allocations: 25.03 kB / 0.8243 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.6761, allocations: 376.5 kB / 0.8246 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6761, allocations: 0 / 0.8246 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.6762, allocations: 10.12 kB / 0.8246 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.6762, allocations: 7.969 kB / 0.8246 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.6767, allocations: 269.5 kB / 0.8249 GB, free: 5.973 MB / 0.5919 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.001769/0.6785, allocations: 1.499 MB / 0.8264 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.6789, allocations: 190.5 kB / 0.8266 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.6791, allocations: 115.6 kB / 0.8267 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009488/0.6801, allocations: 0.5136 MB / 0.8272 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.6801, allocations: 41.03 kB / 0.8272 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.595e-06/0.6801, allocations: 4 kB / 0.8272 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009371/0.6811, allocations: 354.4 kB / 0.8275 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6811, allocations: 54.03 kB / 0.8276 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.6814, allocations: 316.2 kB / 0.8279 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.6815, allocations: 32.14 kB / 0.8279 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6816, allocations: 185.7 kB / 0.8281 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6816, allocations: 52.44 kB / 0.8282 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.6817, allocations: 47 kB / 0.8282 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6818, allocations: 342.5 kB / 0.8285 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.682, allocations: 81.31 kB / 0.8286 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.6823, allocations: 151.8 kB / 0.8287 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.6826, allocations: 235 kB / 0.829 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6827, allocations: 2.688 kB / 0.829 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005354/0.6832, allocations: 281.9 kB / 0.8292 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6832, allocations: 5.562 kB / 0.8293 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6832, allocations: 6.422 kB / 0.8293 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.6833, allocations: 10.75 kB / 0.8293 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.6835, allocations: 40.33 kB / 0.8293 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6835, allocations: 2.938 kB / 0.8293 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.6837, allocations: 25.52 kB / 0.8293 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6838, allocations: 14.44 kB / 0.8293 GB, free: 2.324 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001524/0.6839, allocations: 156.8 kB / 0.8295 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.684, allocations: 28.19 kB / 0.8295 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/0.6847, allocations: 321.3 kB / 0.8298 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6847, allocations: 2 kB / 0.8298 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6847, allocations: 0 / 0.8298 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6847, allocations: 0 / 0.8298 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.6859, allocations: 0.8085 MB / 0.8306 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.686, allocations: 0.875 kB / 0.8306 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.6861, allocations: 40.06 kB / 0.8307 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6862, allocations: 6.969 kB / 0.8307 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.6862, allocations: 12.28 kB / 0.8307 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6862, allocations: 3.031 kB / 0.8307 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6862, allocations: 3.938 kB / 0.8307 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.6868, allocations: 401.9 kB / 0.8311 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.6869, allocations: 138.6 kB / 0.8312 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.687, allocations: 14.33 kB / 0.8312 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.6872, allocations: 11.7 kB / 0.8312 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.6873, allocations: 23.27 kB / 0.8312 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.6873, allocations: 9.562 kB / 0.8313 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002018/0.6875, allocations: 226.5 kB / 0.8315 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6875, allocations: 3.938 kB / 0.8315 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005079/0.688, allocations: 124.8 kB / 0.8316 GB, free: 0.6484 MB / 0.5919 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 (16): * Single equations (assignments): 16 * 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.001336/0.6894, allocations: 1.061 MB / 0.8326 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.6899, allocations: 221.1 kB / 0.8328 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6899, allocations: 3.344 kB / 0.8328 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.6901, allocations: 120.5 kB / 0.833 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.691, allocations: 160.1 kB / 0.8331 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.6945, allocations: 3.051 MB / 0.8361 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.6948, allocations: 0.787 MB / 0.8369 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002453/0.6951, allocations: 76.22 kB / 0.8369 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.6953, allocations: 103.1 kB / 0.837 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.6953, allocations: 0 / 0.837 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.7228, allocations: 10.51 MB / 0.8473 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.609, allocations: 8.906 kB / 0.8473 GB, free: 5.684 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)