Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.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.00134/0.00134, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001541/0.001541, allocations: 213.2 kB / 22.99 MB, free: 4.605 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9207/0.9207, allocations: 149.9 MB / 463 MB, free: 10.31 MB / 366.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.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",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.001958/0.001958, allocations: 70.67 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1642, allocations: 89.18 MB / 0.7281 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001592/0.1657, allocations: 0.5219 MB / 0.7287 GB, free: 500 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.1659, allocations: 39.83 kB / 0.7287 GB, free: 460 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.166, allocations: 0 / 0.7287 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.166, allocations: 7.938 kB / 0.7287 GB, free: 452 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.1661, allocations: 7.938 kB / 0.7287 GB, free: 444 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.637e-05/0.1662, allocations: 7.984 kB / 0.7287 GB, free: 436 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.1663, allocations: 11.98 kB / 0.7287 GB, free: 424 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.1663, allocations: 0 / 0.7287 GB, free: 424 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.1663, allocations: 7.938 kB / 0.7287 GB, free: 416 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.1664, allocations: 11.92 kB / 0.7287 GB, free: 404 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1664, allocations: 0 / 0.7287 GB, free: 404 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-06/0.1664, allocations: 0 / 0.7287 GB, free: 404 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.1665, allocations: 8 kB / 0.7288 GB, free: 396 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.1665, allocations: 15.92 kB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.824e-05/0.1666, allocations: 8.266 kB / 0.7288 GB, free: 372 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1666, allocations: 0 / 0.7288 GB, free: 372 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1666, allocations: 0 / 0.7288 GB, free: 372 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1666, allocations: 0 / 0.7288 GB, free: 372 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004066/0.167, allocations: 258.3 kB / 0.729 GB, free: 84 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.167, allocations: 8.031 kB / 0.729 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.167, allocations: 30.75 kB / 0.7291 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.1671, allocations: 4.938 kB / 0.7291 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1672, allocations: 114.5 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1673, allocations: 4.312 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1673, allocations: 12.12 kB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.67e-05/0.1674, allocations: 37.62 kB / 0.7292 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1674, allocations: 0 / 0.7292 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.1674, allocations: 4 kB / 0.7292 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1674, allocations: 0 / 0.7292 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.1674, allocations: 0 / 0.7292 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1675, allocations: 128.8 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.495e-05/0.1676, allocations: 14.58 kB / 0.7294 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.1676, allocations: 16.84 kB / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1676, allocations: 0 / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1677, allocations: 46.5 kB / 0.7294 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.1677, allocations: 0 / 0.7294 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.1678, allocations: 37.69 kB / 0.7295 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1678, allocations: 51.41 kB / 0.7295 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.1679, allocations: 113.8 kB / 0.7296 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1679, allocations: 25.7 kB / 0.7296 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.168, allocations: 80.14 kB / 0.7297 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.168, allocations: 7.953 kB / 0.7297 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.168, allocations: 17.7 kB / 0.7297 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1682, allocations: 314.8 kB / 0.73 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.1682, allocations: 4.125 kB / 0.73 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.1682, allocations: 29.58 kB / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.1683, allocations: 21.72 kB / 0.7301 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1683, allocations: 0 / 0.7301 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.861e-05/0.1683, allocations: 49.56 kB / 0.7301 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1683, allocations: 5.875 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1683, allocations: 0 / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1684, allocations: 128 / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.1684, allocations: 15.98 kB / 0.7302 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1684, allocations: 0 / 0.7302 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.1684, allocations: 4 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1684, allocations: 0 / 0.7302 GB, free: 14.73 MB / 0.5606 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 7.526e-05/0.1685, allocations: 109.8 kB / 0.7303 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1685, allocations: 7.891 kB / 0.7303 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.1686, allocations: 57.08 kB / 0.7303 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1686, allocations: 3.938 kB / 0.7303 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1686, allocations: 0 / 0.7303 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1687, allocations: 4.031 kB / 0.7303 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1688, allocations: 128.7 kB / 0.7305 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1688, allocations: 4 kB / 0.7305 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.1688, allocations: 0 / 0.7305 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1688, allocations: 4 kB / 0.7305 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1688, allocations: 0 / 0.7305 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1688, allocations: 0 / 0.7305 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1688, allocations: 0 / 0.7305 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1689, allocations: 81.08 kB / 0.7306 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.169, allocations: 3.953 kB / 0.7306 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.169, allocations: 0 / 0.7306 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.169, allocations: 12.34 kB / 0.7306 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.169, allocations: 7.922 kB / 0.7306 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.169, allocations: 7.984 kB / 0.7306 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.1691, allocations: 87.28 kB / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1691, allocations: 0 / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001724/0.1692, allocations: 4 kB / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0003988/0.1696, allocations: 0.6046 MB / 0.7313 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.1697, allocations: 20.08 kB / 0.7313 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1697, allocations: 4.062 kB / 0.7313 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.1697, allocations: 4 kB / 0.7313 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1699, allocations: 4 kB / 0.7313 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1709, allocations: 1.162 MB / 0.7324 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.834e-05/0.1709, allocations: 63.34 kB / 0.7325 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.171, allocations: 0 / 0.7325 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.171, allocations: 11.44 kB / 0.7325 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.171, allocations: 4 kB / 0.7325 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.1984, allocations: 1.7 MB / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.93, allocations: 9.438 kB / 0.7342 GB, free: 10.57 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.485612683929503] Failed to read output from testmodel.py, exit status != 0: 11.03805951308459 11.065460655 10.893607779 Calling exit ...