Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 110.4 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 298.1 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 180.9 MB / 0.5261 GB, free: 14.73 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 104.7 kB / 0.7248 GB, free: 40.04 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1579, allocations: 94.16 MB / 0.8167 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001701/0.1596, allocations: 0.5212 MB / 0.8172 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000236/0.1599, allocations: 47.81 kB / 0.8173 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.16, allocations: 0 / 0.8173 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.16, allocations: 3.938 kB / 0.8173 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1602, allocations: 3.938 kB / 0.8173 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.524e-05/0.1603, allocations: 11.97 kB / 0.8173 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.1603, allocations: 11.94 kB / 0.8173 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.1604, allocations: 11.98 kB / 0.8173 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.1604, allocations: 0 / 0.8173 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.1605, allocations: 7.938 kB / 0.8173 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1605, allocations: 4 kB / 0.8173 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.1605, allocations: 0 / 0.8173 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1606, allocations: 15.91 kB / 0.8173 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.1606, allocations: 7.938 kB / 0.8173 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.75e-05/0.1606, allocations: 7.984 kB / 0.8173 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1607, allocations: 0 / 0.8173 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1607, allocations: 0 / 0.8173 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1607, allocations: 4 kB / 0.8173 GB, free: 4.77 MB / 0.5606 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.0004418/0.1611, allocations: 331.8 kB / 0.8177 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1611, allocations: 8.031 kB / 0.8177 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1612, allocations: 30.75 kB / 0.8177 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.1612, allocations: 4.891 kB / 0.8177 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1614, allocations: 176.3 kB / 0.8179 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1614, allocations: 4.312 kB / 0.8179 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1614, allocations: 4.312 kB / 0.8179 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.1615, allocations: 42.25 kB / 0.8179 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1615, allocations: 3.938 kB / 0.8179 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.1615, allocations: 0 / 0.8179 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1615, allocations: 0 / 0.8179 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.1615, allocations: 4 kB / 0.8179 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1617, allocations: 153.7 kB / 0.8181 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.1617, allocations: 18.58 kB / 0.8181 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.1618, allocations: 12.78 kB / 0.8181 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1618, allocations: 4 kB / 0.8181 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1618, allocations: 34.62 kB / 0.8181 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1618, allocations: 0 / 0.8181 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.1619, allocations: 45.58 kB / 0.8182 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.162, allocations: 51.41 kB / 0.8182 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.1621, allocations: 113.8 kB / 0.8183 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1621, allocations: 25.7 kB / 0.8184 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.1621, allocations: 88.27 kB / 0.8185 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1622, allocations: 3.984 kB / 0.8185 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1622, allocations: 13.72 kB / 0.8185 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1623, allocations: 314.8 kB / 0.8188 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.1624, allocations: 3.938 kB / 0.8188 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.1624, allocations: 17.7 kB / 0.8188 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.1624, allocations: 25.97 kB / 0.8188 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1624, allocations: 0 / 0.8188 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001388/0.1626, allocations: 53.58 kB / 0.8189 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1626, allocations: 11.94 kB / 0.8189 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1626, allocations: 0 / 0.8189 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1626, allocations: 3.984 kB / 0.8189 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.1627, allocations: 4 kB / 0.8189 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1627, allocations: 0 / 0.8189 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.1627, allocations: 3.938 kB / 0.8189 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1627, allocations: 8.062 kB / 0.8189 GB, free: 2.938 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.495e-05/0.1628, allocations: 105.8 kB / 0.819 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.1628, allocations: 8.188 kB / 0.819 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.1629, allocations: 53.14 kB / 0.8191 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1629, allocations: 3.938 kB / 0.8191 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.1629, allocations: 8 kB / 0.8191 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1629, allocations: 0 / 0.8191 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.163, allocations: 157.7 kB / 0.8192 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.163, allocations: 4.031 kB / 0.8192 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.1631, allocations: 4 kB / 0.8192 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1631, allocations: 3.938 kB / 0.8192 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1631, allocations: 0 / 0.8192 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1631, allocations: 3.984 kB / 0.8192 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1631, allocations: 3.984 kB / 0.8192 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1632, allocations: 81.02 kB / 0.8193 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.1633, allocations: 81.09 kB / 0.8194 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1633, allocations: 8.062 kB / 0.8194 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.1633, allocations: 8 kB / 0.8194 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.1633, allocations: 0 / 0.8194 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1633, allocations: 3.984 kB / 0.8194 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.1634, allocations: 87.27 kB / 0.8195 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1634, allocations: 0 / 0.8195 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001782/0.1636, allocations: 8 kB / 0.8195 GB, free: 2.215 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.0004378/0.164, allocations: 0.6125 MB / 0.8201 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.1641, allocations: 15.94 kB / 0.8201 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1641, allocations: 0 / 0.8201 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.1641, allocations: 11.98 kB / 0.8201 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1642, allocations: 0 / 0.8201 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1653, allocations: 1.151 MB / 0.8212 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1656, allocations: 0.6807 MB / 0.8219 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.1656, allocations: 0 / 0.8219 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.1657, allocations: 15.44 kB / 0.8219 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1657, allocations: 0 / 0.8219 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.1921, allocations: 1.221 MB / 0.8231 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.759, allocations: 1.312 kB / 0.8231 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.656468965113163] Failed to read output from testmodel.py, exit status != 0: 7.822906841058284 7.837456523 7.673877176 Calling exit ...