Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",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.001394/0.001394, allocations: 103.7 kB / 16.39 MB, free: 6.371 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.00147/0.00147, allocations: 198.4 kB / 17.33 MB, free: 5.844 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.333/1.333, 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.7455/0.7455, allocations: 122.9 MB / 414 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.34 kB / 0.5679 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 77.92 MB / 0.644 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001598/0.1152, allocations: 0.5126 MB / 0.6445 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001207/0.1154, allocations: 11.97 kB / 0.6445 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.1154, allocations: 0 / 0.6445 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.1154, allocations: 3.938 kB / 0.6445 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.1156, allocations: 8 kB / 0.6445 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.1156, allocations: 0 / 0.6445 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.1157, allocations: 7.938 kB / 0.6446 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1157, allocations: 11.98 kB / 0.6446 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.1157, allocations: 0 / 0.6446 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.1158, allocations: 3.938 kB / 0.6446 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1158, allocations: 3.984 kB / 0.6446 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.1158, allocations: 4 kB / 0.6446 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1158, allocations: 0 / 0.6446 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.1159, allocations: 3.938 kB / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.306e-05/0.1159, allocations: 0 / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1159, allocations: 0 / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1159, allocations: 0 / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1159, allocations: 4 kB / 0.6446 GB, free: 9.012 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002862/0.1162, allocations: 323.8 kB / 0.6449 GB, free: 8.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1163, allocations: 12.62 kB / 0.6449 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.1163, allocations: 30.75 kB / 0.6449 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.1163, allocations: 4.938 kB / 0.6449 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1164, allocations: 160.4 kB / 0.6451 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1165, allocations: 4.375 kB / 0.6451 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1165, allocations: 384 / 0.6451 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.949e-05/0.1166, allocations: 55.91 kB / 0.6452 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1166, allocations: 3.938 kB / 0.6452 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.1166, allocations: 0 / 0.6452 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1166, allocations: 0 / 0.6452 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.1167, allocations: 4 kB / 0.6452 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1168, allocations: 154.5 kB / 0.6453 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.1169, allocations: 41.16 kB / 0.6453 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.1169, allocations: 13.84 kB / 0.6454 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1169, allocations: 0 / 0.6454 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.117, allocations: 34.91 kB / 0.6454 GB, free: 7.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.295e-06/0.117, allocations: 0 / 0.6454 GB, free: 7.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.1171, allocations: 57.73 kB / 0.6454 GB, free: 7.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1171, allocations: 81.11 kB / 0.6455 GB, free: 7.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.1172, allocations: 97.8 kB / 0.6456 GB, free: 7.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1172, allocations: 25.7 kB / 0.6456 GB, free: 7.695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.1173, allocations: 80.14 kB / 0.6457 GB, free: 7.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1173, allocations: 11.89 kB / 0.6457 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1173, allocations: 13.7 kB / 0.6457 GB, free: 7.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1174, allocations: 319 kB / 0.646 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.1175, allocations: 4 kB / 0.6461 GB, free: 7.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.1175, allocations: 13.72 kB / 0.6461 GB, free: 7.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.1175, allocations: 17.72 kB / 0.6461 GB, free: 7.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1175, allocations: 0 / 0.6461 GB, free: 7.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.32e-05/0.1176, allocations: 41.62 kB / 0.6461 GB, free: 7.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1176, allocations: 12.06 kB / 0.6461 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1176, allocations: 4 kB / 0.6461 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1176, allocations: 0 / 0.6461 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.1177, allocations: 4 kB / 0.6461 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1177, allocations: 0 / 0.6461 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.1177, allocations: 0 / 0.6461 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1178, allocations: 0 / 0.6461 GB, free: 7.148 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.303e-05/0.1178, allocations: 117.8 kB / 0.6463 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.1178, allocations: 7.922 kB / 0.6463 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.118, allocations: 52.75 kB / 0.6463 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.118, allocations: 0 / 0.6463 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.118, allocations: 4 kB / 0.6463 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.118, allocations: 0 / 0.6463 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.624e-05/0.1181, allocations: 149.6 kB / 0.6465 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1181, allocations: 4 kB / 0.6465 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.1181, allocations: 7.922 kB / 0.6465 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1181, allocations: 7.938 kB / 0.6465 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1182, allocations: 0 / 0.6465 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1182, allocations: 4.062 kB / 0.6465 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1182, allocations: 4 kB / 0.6465 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.152e-05/0.1182, allocations: 62 kB / 0.6465 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.1183, allocations: 85.09 kB / 0.6466 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1183, allocations: 3.938 kB / 0.6466 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.1184, allocations: 7.938 kB / 0.6466 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.1184, allocations: 8.031 kB / 0.6466 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1184, allocations: 0 / 0.6466 GB, free: 6.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.1184, allocations: 75.28 kB / 0.6467 GB, free: 6.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1184, allocations: 3.938 kB / 0.6467 GB, free: 6.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.1186, allocations: 4 kB / 0.6467 GB, free: 6.445 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003354/0.119, allocations: 0.6054 MB / 0.6473 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.058e-05/0.119, allocations: 19.92 kB / 0.6473 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1191, allocations: 0 / 0.6473 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.1191, allocations: 4 kB / 0.6473 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1192, allocations: 5.562 kB / 0.6473 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.1196, allocations: 123.8 kB / 0.6475 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1198, allocations: 0.6729 MB / 0.6481 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.913e-05/0.1198, allocations: 0 / 0.6481 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.1198, allocations: 7.438 kB / 0.6481 GB, free: 4.906 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1198, allocations: 3.938 kB / 0.6481 GB, free: 4.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.1365, allocations: 0.9125 MB / 0.649 GB, free: 4.055 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.463, allocations: 25.77 kB / 0.649 GB, free: 4.035 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)