Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001493/0.001493, allocations: 107 kB / 16.45 MB, free: 6.488 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.001406/0.001406, allocations: 220.2 kB / 19.43 MB, free: 3.656 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.364/1.364, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.002395/0.002395, allocations: 288.3 kB / 309.1 MB, free: 3.988 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.178/1.178, allocations: 180.9 MB / 0.5333 GB, free: 13.91 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.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(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002744/0.002744, allocations: 101.3 kB / 0.7342 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1564, allocations: 95.34 MB / 0.8273 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001603/0.158, allocations: 0.5126 MB / 0.8278 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.1581, allocations: 27.84 kB / 0.8279 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.1582, allocations: 0 / 0.8279 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1582, allocations: 4 kB / 0.8279 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.1583, allocations: 3.938 kB / 0.8279 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.1583, allocations: 0 / 0.8279 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.013e-05/0.1584, allocations: 7.984 kB / 0.8279 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1584, allocations: 0 / 0.8279 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.1584, allocations: 4 kB / 0.8279 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.1585, allocations: 0 / 0.8279 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1585, allocations: 0 / 0.8279 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-06/0.1585, allocations: 0 / 0.8279 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.1585, allocations: 0 / 0.8279 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.1585, allocations: 15.92 kB / 0.8279 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.852e-05/0.1585, allocations: 4 kB / 0.8279 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1585, allocations: 0 / 0.8279 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1585, allocations: 3.938 kB / 0.8279 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1585, allocations: 0 / 0.8279 GB, free: 9.332 MB / 0.5762 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.0002934/0.1588, allocations: 315.8 kB / 0.8282 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1589, allocations: 15.97 kB / 0.8282 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1589, allocations: 30.75 kB / 0.8283 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.753e-05/0.1589, allocations: 0.9375 kB / 0.8283 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.159, allocations: 160.4 kB / 0.8284 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1591, allocations: 8.375 kB / 0.8284 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.1591, allocations: 8.359 kB / 0.8284 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.1592, allocations: 39.97 kB / 0.8285 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1592, allocations: 7.938 kB / 0.8285 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.1592, allocations: 0 / 0.8285 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1592, allocations: 0 / 0.8285 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.1592, allocations: 7.875 kB / 0.8285 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1593, allocations: 162.5 kB / 0.8286 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/0.1594, allocations: 41.16 kB / 0.8287 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.1594, allocations: 9.719 kB / 0.8287 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1594, allocations: 4.125 kB / 0.8287 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1595, allocations: 38.56 kB / 0.8287 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1595, allocations: 0 / 0.8287 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001297/0.1596, allocations: 49.56 kB / 0.8288 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.1597, allocations: 81.11 kB / 0.8288 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.1597, allocations: 89.86 kB / 0.8289 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1597, allocations: 25.7 kB / 0.829 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.1598, allocations: 80.14 kB / 0.829 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.1598, allocations: 8.328 kB / 0.829 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1598, allocations: 21.7 kB / 0.8291 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.1599, allocations: 311.2 kB / 0.8294 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.1599, allocations: 4 kB / 0.8294 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.16, allocations: 9.719 kB / 0.8294 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.16, allocations: 25.66 kB / 0.8294 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.16, allocations: 4.062 kB / 0.8294 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.27e-05/0.1601, allocations: 45.58 kB / 0.8294 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1601, allocations: 7.938 kB / 0.8294 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1601, allocations: 0 / 0.8294 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1601, allocations: 4 kB / 0.8295 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.1601, allocations: 0 / 0.8295 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1601, allocations: 4 kB / 0.8295 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.1602, allocations: 4 kB / 0.8295 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1602, allocations: 0 / 0.8295 GB, free: 7.469 MB / 0.5762 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 6.752e-05/0.1602, allocations: 114.5 kB / 0.8296 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.1602, allocations: 7.938 kB / 0.8296 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.683e-05/0.1603, allocations: 48.75 kB / 0.8296 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1603, allocations: 0 / 0.8296 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1604, allocations: 0 / 0.8296 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1604, allocations: 7.938 kB / 0.8296 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.1605, allocations: 145.6 kB / 0.8298 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1605, allocations: 4.062 kB / 0.8298 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.1605, allocations: 7.984 kB / 0.8298 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1605, allocations: 7.875 kB / 0.8298 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1605, allocations: 4 kB / 0.8298 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1605, allocations: 4 kB / 0.8298 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1605, allocations: 0 / 0.8298 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.041e-05/0.1606, allocations: 69.92 kB / 0.8299 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1606, allocations: 81.14 kB / 0.8299 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1606, allocations: 7.938 kB / 0.8299 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.1607, allocations: 0 / 0.8299 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-06/0.1607, allocations: 0 / 0.8299 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1607, allocations: 4 kB / 0.83 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.1607, allocations: 75.28 kB / 0.83 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1607, allocations: 0 / 0.83 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00017/0.1609, allocations: 0 / 0.83 GB, free: 6.789 MB / 0.5762 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.0003763/0.1612, allocations: 0.6133 MB / 0.8306 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.1613, allocations: 11.98 kB / 0.8306 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1613, allocations: 0 / 0.8306 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.1613, allocations: 12.09 kB / 0.8306 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.1615, allocations: 5.031 kB / 0.8307 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.1617, allocations: 111.6 kB / 0.8308 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.162, allocations: 0.6729 MB / 0.8314 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.456e-05/0.162, allocations: 0 / 0.8314 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.162, allocations: 11.44 kB / 0.8314 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.162, allocations: 0 / 0.8314 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.1845, allocations: 0.966 MB / 0.8324 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.825, allocations: 3.047 kB / 0.8324 GB, free: 4.383 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.749756656121463] Failed to read output from testmodel.py, exit status != 0: 7.890001019928604 7.912101867 7.749613577 Calling exit ...