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.001295/0.001295, allocations: 114.1 kB / 17.84 MB, free: 5.312 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.001357/0.001357, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.406/1.406, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9476/0.9476, allocations: 150 MB / 460.2 MB, free: 5.215 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.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",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.001952/0.001952, allocations: 69.28 kB / 0.6368 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1518, allocations: 89.14 MB / 0.7238 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001628/0.1534, allocations: 0.5063 MB / 0.7243 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.1536, allocations: 43.8 kB / 0.7244 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.1536, allocations: 0 / 0.7244 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.1537, allocations: 0 / 0.7244 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1538, allocations: 15.92 kB / 0.7244 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.784e-05/0.1539, allocations: 7.938 kB / 0.7244 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.1539, allocations: 7.938 kB / 0.7244 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.154, allocations: 11.97 kB / 0.7244 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.154, allocations: 3.938 kB / 0.7244 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.1541, allocations: 19.98 kB / 0.7244 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1541, allocations: 0 / 0.7244 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.1541, allocations: 0 / 0.7244 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.1541, allocations: 4 kB / 0.7244 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.1542, allocations: 3.938 kB / 0.7244 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.839e-05/0.1542, allocations: 16.19 kB / 0.7245 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1542, allocations: 0 / 0.7245 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1542, allocations: 0 / 0.7245 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1542, allocations: 0 / 0.7245 GB, free: 3.375 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004633/0.1547, allocations: 341.6 kB / 0.7248 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1547, allocations: 8.031 kB / 0.7248 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.162e-05/0.1548, allocations: 192 / 0.7248 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.1548, allocations: 34.75 kB / 0.7248 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.1548, allocations: 4.891 kB / 0.7248 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.155, allocations: 176.3 kB / 0.725 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.155, allocations: 384 / 0.725 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.155, allocations: 7.938 kB / 0.725 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.906e-05/0.1551, allocations: 29.69 kB / 0.725 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1551, allocations: 8 kB / 0.725 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1551, allocations: 4 kB / 0.725 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1551, allocations: 0 / 0.725 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.1551, allocations: 0 / 0.725 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1553, allocations: 153.7 kB / 0.7252 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.507e-05/0.1554, allocations: 30.47 kB / 0.7252 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.1554, allocations: 9.328 kB / 0.7252 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1554, allocations: 4 kB / 0.7252 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1554, allocations: 34.56 kB / 0.7253 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1554, allocations: 0 / 0.7253 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.1556, allocations: 41.69 kB / 0.7253 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1556, allocations: 51.41 kB / 0.7254 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.1557, allocations: 109.8 kB / 0.7255 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1557, allocations: 25.7 kB / 0.7255 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.1558, allocations: 92.06 kB / 0.7256 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1558, allocations: 8.078 kB / 0.7256 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1558, allocations: 17.66 kB / 0.7256 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.156, allocations: 314.8 kB / 0.7259 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.156, allocations: 4 kB / 0.7259 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.156, allocations: 17.7 kB / 0.7259 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.156, allocations: 29.72 kB / 0.7259 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.156, allocations: 3.984 kB / 0.726 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.803e-05/0.1561, allocations: 49.58 kB / 0.726 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1561, allocations: 7.984 kB / 0.726 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1561, allocations: 0 / 0.726 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1562, allocations: 4 kB / 0.726 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.1562, allocations: 0 / 0.726 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1562, allocations: 7.984 kB / 0.726 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.1563, allocations: 3.953 kB / 0.726 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1563, allocations: 64 / 0.726 GB, free: 1.535 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.294e-05/0.1563, allocations: 117.8 kB / 0.7261 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.1564, allocations: 3.984 kB / 0.7261 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1565, allocations: 53.16 kB / 0.7262 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1565, allocations: 3.984 kB / 0.7262 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1565, allocations: 0 / 0.7262 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1565, allocations: 0 / 0.7262 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1566, allocations: 157.6 kB / 0.7263 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1566, allocations: 4 kB / 0.7263 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1567, allocations: 4.031 kB / 0.7263 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1567, allocations: 0 / 0.7263 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1567, allocations: 7.984 kB / 0.7264 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1567, allocations: 256 / 0.7264 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1567, allocations: 0 / 0.7264 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1568, allocations: 81 kB / 0.7264 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.1569, allocations: 93.08 kB / 0.7265 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1569, allocations: 0 / 0.7265 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.1569, allocations: 4.094 kB / 0.7265 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1569, allocations: 0 / 0.7265 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1569, allocations: 4 kB / 0.7265 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.157, allocations: 87.27 kB / 0.7266 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.157, allocations: 4 kB / 0.7266 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00017/0.1571, allocations: 0 / 0.7266 GB, free: 0.8125 MB / 0.5294 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.0004264/0.1576, allocations: 0.6201 MB / 0.7272 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.527e-05/0.1576, allocations: 11.98 kB / 0.7272 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1576, allocations: 0 / 0.7272 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.1577, allocations: 8 kB / 0.7272 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1578, allocations: 4 kB / 0.7272 GB, free: 144 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1589, allocations: 1.166 MB / 0.7284 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1592, allocations: 0.6806 MB / 0.729 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.1592, allocations: 4 kB / 0.7291 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.1592, allocations: 11.42 kB / 0.7291 GB, free: 14.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1592, allocations: 0 / 0.7291 GB, free: 14.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.1772, allocations: 1.226 MB / 0.7303 GB, free: 13.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.378, allocations: 9.469 kB / 0.7303 GB, free: 13.05 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.061756176990457] Failed to read output from testmodel.py, exit status != 0: 8.500490625970997 8.526306572 8.367489294 Calling exit ...