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.001315/0.001315, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001685/0.001685, allocations: 216 kB / 22.26 MB, free: 5.078 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002487/0.002487, allocations: 288.5 kB / 312.7 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.169/1.169, allocations: 180.6 MB / 0.5369 GB, free: 12.92 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002724/0.002724, allocations: 102.7 kB / 0.7396 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1554, allocations: 95.39 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.00164/0.1571, allocations: 0.5145 MB / 0.8332 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.1572, allocations: 19.97 kB / 0.8332 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.1572, allocations: 3.938 kB / 0.8332 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1572, allocations: 7.938 kB / 0.8333 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1574, allocations: 0 / 0.8333 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.1574, allocations: 4 kB / 0.8333 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.1574, allocations: 11.98 kB / 0.8333 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.1575, allocations: 0 / 0.8333 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.1575, allocations: 3.938 kB / 0.8333 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.1575, allocations: 7.984 kB / 0.8333 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1575, allocations: 0 / 0.8333 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-06/0.1575, allocations: 0 / 0.8333 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.1575, allocations: 0 / 0.8333 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.1576, allocations: 3.938 kB / 0.8333 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 4.438e-05/0.1576, allocations: 4 kB / 0.8333 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1576, allocations: 0 / 0.8333 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1576, allocations: 4 kB / 0.8333 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1576, allocations: 0 / 0.8333 GB, free: 8.094 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.0002858/0.1579, allocations: 238.7 kB / 0.8335 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1579, allocations: 9.344 kB / 0.8335 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/0.158, allocations: 34.75 kB / 0.8336 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.158, allocations: 4.938 kB / 0.8336 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.1581, allocations: 102.5 kB / 0.8337 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1581, allocations: 384 / 0.8337 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.1581, allocations: 384 / 0.8337 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1582, allocations: 52.31 kB / 0.8337 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1582, allocations: 7.875 kB / 0.8337 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1582, allocations: 11.98 kB / 0.8337 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1582, allocations: 0 / 0.8337 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.1583, allocations: 0 / 0.8337 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1584, allocations: 133.5 kB / 0.8339 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/0.1585, allocations: 45.22 kB / 0.8339 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.1585, allocations: 9.719 kB / 0.8339 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1585, allocations: 4.062 kB / 0.8339 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1586, allocations: 34.56 kB / 0.8339 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1586, allocations: 0 / 0.8339 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.1587, allocations: 49.56 kB / 0.834 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.1588, allocations: 81.11 kB / 0.8341 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.1588, allocations: 97.8 kB / 0.8342 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1589, allocations: 25.7 kB / 0.8342 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.1589, allocations: 80.14 kB / 0.8343 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1589, allocations: 3.953 kB / 0.8343 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1589, allocations: 18.08 kB / 0.8343 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1591, allocations: 318.8 kB / 0.8346 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.1591, allocations: 4 kB / 0.8346 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.1591, allocations: 9.719 kB / 0.8346 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.1591, allocations: 17.72 kB / 0.8346 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.1591, allocations: 0 / 0.8346 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.976e-05/0.1592, allocations: 49.69 kB / 0.8347 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1592, allocations: 7.938 kB / 0.8347 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1592, allocations: 4 kB / 0.8347 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1593, allocations: 4 kB / 0.8347 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.1593, allocations: 0 / 0.8347 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1593, allocations: 4 kB / 0.8347 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.1594, allocations: 3.953 kB / 0.8347 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1594, allocations: 0 / 0.8347 GB, free: 6.426 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 7.763e-05/0.1594, allocations: 110.5 kB / 0.8348 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.1595, allocations: 12 kB / 0.8348 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1596, allocations: 48.62 kB / 0.8349 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1596, allocations: 0 / 0.8349 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1596, allocations: 0 / 0.8349 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1596, allocations: 0 / 0.8349 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1597, allocations: 132.6 kB / 0.835 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1597, allocations: 0 / 0.835 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.1597, allocations: 7.984 kB / 0.835 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1597, allocations: 3.938 kB / 0.835 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1597, allocations: 12 kB / 0.835 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1597, allocations: 0 / 0.835 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1597, allocations: 3.938 kB / 0.835 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.146e-05/0.1598, allocations: 62 kB / 0.8351 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.1598, allocations: 7.984 kB / 0.8351 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1598, allocations: 3.938 kB / 0.8351 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.1599, allocations: 4.031 kB / 0.8351 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.1599, allocations: 7.938 kB / 0.8351 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1599, allocations: 4 kB / 0.8351 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.449e-05/0.1599, allocations: 75.28 kB / 0.8352 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1599, allocations: 0 / 0.8352 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001773/0.1601, allocations: 0 / 0.8352 GB, free: 5.859 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.0004051/0.1605, allocations: 0.6017 MB / 0.8358 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.462e-05/0.1606, allocations: 19.92 kB / 0.8358 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1606, allocations: 0 / 0.8358 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.1606, allocations: 4 kB / 0.8358 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1607, allocations: 0.5156 kB / 0.8358 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.161, allocations: 119.8 kB / 0.8359 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1613, allocations: 0.6728 MB / 0.8365 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.603e-05/0.1613, allocations: 0 / 0.8365 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1613, allocations: 11.44 kB / 0.8366 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.1613, allocations: 0 / 0.8366 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1874, allocations: 1.058 MB / 0.8376 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.48, allocations: 7.891 kB / 0.8376 GB, free: 3.398 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 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: 14.340114691993222] Failed to read output from testmodel.py, exit status != 0: 10.573495256947353 10.59015019 10.42937327 Calling exit ...