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.0007201/0.0007201, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007261/0.0007261, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.821/0.821, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.002113/0.002113, allocations: 230.5 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6553/0.6553, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.857e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001154/0.001173, allocations: 0.5289 MB / 0.6468 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.001279, allocations: 15.92 kB / 0.6468 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.001301, allocations: 0 / 0.6468 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.001315, allocations: 3.938 kB / 0.6468 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.001455, allocations: 0 / 0.6468 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.001459, allocations: 0 / 0.6468 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.001511, allocations: 7.984 kB / 0.6468 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.001554, allocations: 4 kB / 0.6468 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.001604, allocations: 7.938 kB / 0.6468 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.109e-05/0.001635, allocations: 0 / 0.6468 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.001649, allocations: 4 kB / 0.6468 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-06/0.001654, allocations: 0 / 0.6468 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.001664, allocations: 0 / 0.6468 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.241e-05/0.001677, allocations: 4 kB / 0.6468 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 4.508e-05/0.001722, allocations: 3.984 kB / 0.6468 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.001724, allocations: 0 / 0.6468 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.092e-06/0.001725, allocations: 0 / 0.6468 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.001729, allocations: 0 / 0.6468 GB, free: 1.32 MB / 0.5573 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.0002084/0.001937, allocations: 234.5 kB / 0.6471 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.001975, allocations: 13.94 kB / 0.6471 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.743e-05/0.002003, allocations: 34.75 kB / 0.6471 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.684e-05/0.00202, allocations: 4.938 kB / 0.6471 GB, free: 1 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.546e-05/0.002085, allocations: 117.6 kB / 0.6472 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-06/0.002094, allocations: 4.312 kB / 0.6472 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.0021, allocations: 4.312 kB / 0.6472 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.555e-05/0.002186, allocations: 43.97 kB / 0.6473 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.002193, allocations: 192 / 0.6473 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.002202, allocations: 4.359 kB / 0.6473 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.002207, allocations: 4.125 kB / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.002227, allocations: 11.94 kB / 0.6473 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.002335, allocations: 129.6 kB / 0.6474 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.46e-05/0.0024, allocations: 37.28 kB / 0.6474 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.002425, allocations: 10.42 kB / 0.6475 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.002457, allocations: 4.062 kB / 0.6475 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.00248, allocations: 34.5 kB / 0.6475 GB, free: 500 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.002481, allocations: 0 / 0.6475 GB, free: 500 kB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.002599, allocations: 49.62 kB / 0.6475 GB, free: 444 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.002634, allocations: 81.05 kB / 0.6476 GB, free: 344 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.002674, allocations: 90.11 kB / 0.6477 GB, free: 244 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.002682, allocations: 29.83 kB / 0.6477 GB, free: 208 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/0.002699, allocations: 80.14 kB / 0.6478 GB, free: 124 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.002723, allocations: 11.95 kB / 0.6478 GB, free: 112 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.002746, allocations: 9.719 kB / 0.6478 GB, free: 96 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.2218/0.2246, allocations: 318.8 kB / 0.6481 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.2246, allocations: 0 / 0.6481 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.2246, allocations: 12.34 kB / 0.6481 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.2247, allocations: 19.09 kB / 0.6482 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2247, allocations: 0 / 0.6482 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.398e-05/0.2247, allocations: 41.91 kB / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2248, allocations: 6 kB / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2248, allocations: 0.5312 kB / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2248, allocations: 5 kB / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.2248, allocations: 9.031 kB / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2249, allocations: 2.406 kB / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.2249, allocations: 0 / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2249, allocations: 0.6562 kB / 0.6482 GB, free: 56.79 MB / 0.5573 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 4.105e-05/0.2249, allocations: 113.5 kB / 0.6483 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.2249, allocations: 2.75 kB / 0.6483 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.225, allocations: 49.98 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.225, allocations: 6.938 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.225, allocations: 0.6875 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.225, allocations: 0.9688 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.87e-05/0.2251, allocations: 118.2 kB / 0.6485 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.2251, allocations: 2.188 kB / 0.6485 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.2251, allocations: 3.531 kB / 0.6485 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2251, allocations: 2.969 kB / 0.6485 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2251, allocations: 2.031 kB / 0.6485 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2251, allocations: 5.406 kB / 0.6485 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2251, allocations: 3.75 kB / 0.6485 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.547e-05/0.2251, allocations: 70.28 kB / 0.6486 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.2252, allocations: 3.188 kB / 0.6486 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.2252, allocations: 3.844 kB / 0.6486 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.2252, allocations: 3.938 kB / 0.6486 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.2252, allocations: 5 kB / 0.6486 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2252, allocations: 1.844 kB / 0.6486 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.211e-05/0.2252, allocations: 79.03 kB / 0.6487 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2252, allocations: 0.5938 kB / 0.6487 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001171/0.2253, allocations: 1.719 kB / 0.6487 GB, free: 56.34 MB / 0.5573 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.0001408/0.2255, allocations: 0.5998 MB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.447e-05/0.2255, allocations: 18.06 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2255, allocations: 0.9062 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.882e-06/0.2255, allocations: 5.016 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.2256, allocations: 8.734 kB / 0.6493 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.2259, allocations: 117.1 kB / 0.6494 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.578e-05/0.2259, allocations: 59.12 kB / 0.6495 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.2259, allocations: 1.312 kB / 0.6495 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.2259, allocations: 9.781 kB / 0.6495 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/0.2259, allocations: 3.125 kB / 0.6495 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.2383, allocations: 1.594 MB / 0.651 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.341/6.579, allocations: 4.922 kB / 0.651 GB, free: 54.78 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.114502806216478] Failed to read output from testmodel.py, exit status != 0: 6.653833573684096 6.661716649 6.658425953 Calling exit ...