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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 118 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 203.8 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9235/0.9235, allocations: 150 MB / 460.2 MB, free: 5.699 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 70.2 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1685, allocations: 89.13 MB / 0.7238 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001579/0.1701, allocations: 0.519 MB / 0.7243 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001321/0.1702, allocations: 7.984 kB / 0.7243 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.1702, allocations: 3.938 kB / 0.7243 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.1702, allocations: 4 kB / 0.7243 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1704, allocations: 7.984 kB / 0.7244 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.1704, allocations: 0 / 0.7244 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.1705, allocations: 7.984 kB / 0.7244 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1705, allocations: 0 / 0.7244 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.1706, allocations: 7.938 kB / 0.7244 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.1706, allocations: 3.938 kB / 0.7244 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1706, allocations: 0 / 0.7244 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-06/0.1706, allocations: 0 / 0.7244 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1706, allocations: 0 / 0.7244 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.1706, allocations: 4 kB / 0.7244 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.804e-05/0.1707, allocations: 7.984 kB / 0.7244 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1707, allocations: 0 / 0.7244 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1707, allocations: 3.938 kB / 0.7244 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1707, allocations: 0 / 0.7244 GB, free: 3.523 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003608/0.1711, allocations: 319.8 kB / 0.7247 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1711, allocations: 12.03 kB / 0.7247 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.1711, allocations: 4.125 kB / 0.7247 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.1711, allocations: 30.75 kB / 0.7247 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.1712, allocations: 8.891 kB / 0.7247 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1713, allocations: 164.4 kB / 0.7249 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.1713, allocations: 384 / 0.7249 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1713, allocations: 7.938 kB / 0.7249 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1714, allocations: 51.34 kB / 0.725 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1715, allocations: 0 / 0.725 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.1715, allocations: 0 / 0.725 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1715, allocations: 0 / 0.725 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.1715, allocations: 4 kB / 0.725 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.1717, allocations: 158.5 kB / 0.7251 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.1717, allocations: 41.09 kB / 0.7252 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.1717, allocations: 13.72 kB / 0.7252 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1718, allocations: 4.125 kB / 0.7252 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1718, allocations: 38.5 kB / 0.7252 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1718, allocations: 0 / 0.7252 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.172, allocations: 41.69 kB / 0.7252 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.172, allocations: 85.05 kB / 0.7253 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.1721, allocations: 89.86 kB / 0.7254 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1721, allocations: 25.7 kB / 0.7254 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.1721, allocations: 84.52 kB / 0.7255 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1722, allocations: 3.953 kB / 0.7255 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1722, allocations: 22.11 kB / 0.7255 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1723, allocations: 310.8 kB / 0.7258 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.1723, allocations: 4 kB / 0.7258 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.1724, allocations: 9.719 kB / 0.7259 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.1724, allocations: 25.78 kB / 0.7259 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1724, allocations: 0 / 0.7259 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.407e-05/0.1725, allocations: 45.56 kB / 0.7259 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1725, allocations: 5.562 kB / 0.7259 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1725, allocations: 0 / 0.7259 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1725, allocations: 4 kB / 0.7259 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.1726, allocations: 0 / 0.7259 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1726, allocations: 4 kB / 0.7259 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.1726, allocations: 3.984 kB / 0.7259 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1726, allocations: 8 kB / 0.7259 GB, free: 1.66 MB / 0.5294 GB 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 8.239e-05/0.1727, allocations: 125.7 kB / 0.7261 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.1727, allocations: 3.938 kB / 0.7261 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1728, allocations: 48.75 kB / 0.7261 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1728, allocations: 0 / 0.7261 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1728, allocations: 0 / 0.7261 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1728, allocations: 4 kB / 0.7261 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.1729, allocations: 153.6 kB / 0.7263 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1729, allocations: 0 / 0.7263 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.173, allocations: 7.984 kB / 0.7263 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.173, allocations: 0 / 0.7263 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.173, allocations: 4 kB / 0.7263 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.173, allocations: 0 / 0.7263 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.173, allocations: 0 / 0.7263 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.619e-05/0.1731, allocations: 77.92 kB / 0.7264 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.1731, allocations: 85.06 kB / 0.7264 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1731, allocations: 4 kB / 0.7264 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.1732, allocations: 0 / 0.7264 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.1732, allocations: 3.938 kB / 0.7264 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1732, allocations: 4 kB / 0.7264 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.1732, allocations: 75.28 kB / 0.7265 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 0 / 0.7265 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001709/0.1734, allocations: 128 / 0.7265 GB, free: 0.9727 MB / 0.5294 GB 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.000416/0.1738, allocations: 0.6055 MB / 0.7271 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.869e-05/0.1739, allocations: 23.92 kB / 0.7271 GB, free: 316 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1739, allocations: 4.156 kB / 0.7271 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.1739, allocations: 4 kB / 0.7271 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.174, allocations: 0 / 0.7271 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.1744, allocations: 127.3 kB / 0.7273 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1747, allocations: 0.6729 MB / 0.7279 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.568e-05/0.1747, allocations: 0 / 0.7279 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1748, allocations: 7.562 kB / 0.7279 GB, free: 15.43 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1748, allocations: 4 kB / 0.7279 GB, free: 15.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.1909, allocations: 0.9637 MB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.268, allocations: 14.19 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.972689376038034] Failed to read output from testmodel.py, exit status != 0: 8.390549481031485 8.414816945 8.2395 Calling exit ...