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.000847/0.000847, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001251/0.001251, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.857/0.857, allocations: 177.2 MB / 203.5 MB, free: 5.754 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.00142/0.00142, allocations: 242.1 kB / 260.2 MB, free: 13.04 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.6751/0.6751, allocations: 138.4 MB / 455.1 MB, free: 29.98 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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6475 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.4e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.0009542/0.0009782, allocations: 0.531 MB / 0.648 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.001088, allocations: 15.92 kB / 0.648 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.00111, allocations: 4 kB / 0.648 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.001125, allocations: 3.938 kB / 0.648 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.001264, allocations: 0 / 0.648 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.878e-06/0.001267, allocations: 0 / 0.648 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.001318, allocations: 7.984 kB / 0.648 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.001356, allocations: 3.984 kB / 0.648 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.001403, allocations: 4 kB / 0.648 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.001441, allocations: 3.938 kB / 0.6481 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.001458, allocations: 0 / 0.6481 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-06/0.001463, allocations: 0 / 0.6481 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.001473, allocations: 4 kB / 0.6481 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.001485, allocations: 4 kB / 0.6481 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 4.398e-05/0.001529, allocations: 0 / 0.6481 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.001531, allocations: 0 / 0.6481 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.12e-07/0.001532, allocations: 0 / 0.6481 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.001535, allocations: 0 / 0.6481 GB, free: 0.7891 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.000223/0.001758, allocations: 246.4 kB / 0.6483 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.001794, allocations: 9.938 kB / 0.6483 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.00182, allocations: 0.9375 kB / 0.6483 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.001882, allocations: 105.8 kB / 0.6484 GB, free: 388 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.001891, allocations: 4.312 kB / 0.6484 GB, free: 384 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.001899, allocations: 4.375 kB / 0.6484 GB, free: 380 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.134e-05/0.00199, allocations: 47.97 kB / 0.6485 GB, free: 320 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.001998, allocations: 4.125 kB / 0.6485 GB, free: 316 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.002006, allocations: 384 / 0.6485 GB, free: 316 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.00201, allocations: 4.312 kB / 0.6485 GB, free: 312 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.002031, allocations: 7.938 kB / 0.6485 GB, free: 304 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.002147, allocations: 114.1 kB / 0.6486 GB, free: 156 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.00219, allocations: 33.28 kB / 0.6486 GB, free: 104 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.00221, allocations: 14.41 kB / 0.6486 GB, free: 84 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.002234, allocations: 4.062 kB / 0.6486 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.002252, allocations: 42.5 kB / 0.6487 GB, free: 28 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.002253, allocations: 0 / 0.6487 GB, free: 28 kB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.2466/0.2488, allocations: 38.17 kB / 0.6487 GB, free: 57.16 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.2489, allocations: 77.91 kB / 0.6488 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.2489, allocations: 95.8 kB / 0.6489 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.2489, allocations: 27.05 kB / 0.6489 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-06/0.2489, allocations: 81.02 kB / 0.649 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.249, allocations: 4.125 kB / 0.649 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.249, allocations: 15.59 kB / 0.649 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.298e-05/0.249, allocations: 311.8 kB / 0.6493 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.249, allocations: 7 kB / 0.6493 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.2491, allocations: 14.16 kB / 0.6493 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.2491, allocations: 21 kB / 0.6493 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2491, allocations: 0.625 kB / 0.6493 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.602e-05/0.2491, allocations: 44.3 kB / 0.6494 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2492, allocations: 4.906 kB / 0.6494 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2492, allocations: 1.156 kB / 0.6494 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2492, allocations: 1.25 kB / 0.6494 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.2492, allocations: 8.078 kB / 0.6494 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2493, allocations: 5.344 kB / 0.6494 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.2493, allocations: 1.812 kB / 0.6494 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2493, allocations: 0 / 0.6494 GB, free: 56.46 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 3.735e-05/0.2493, allocations: 112.2 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.2493, allocations: 1.469 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.2494, allocations: 53.95 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2494, allocations: 2.469 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2494, allocations: 0.5938 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2494, allocations: 2.203 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.517e-05/0.2495, allocations: 102.3 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2495, allocations: 0.9375 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.2495, allocations: 8.734 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2495, allocations: 0.5156 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2495, allocations: 3.531 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2495, allocations: 7.031 kB / 0.6497 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2495, allocations: 3.797 kB / 0.6497 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.624e-05/0.2495, allocations: 65.08 kB / 0.6497 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2496, allocations: 5.922 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.2496, allocations: 2.312 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.2496, allocations: 8.094 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.2496, allocations: 3.156 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2496, allocations: 1.969 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.204e-05/0.2496, allocations: 81.3 kB / 0.6498 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2496, allocations: 1.312 kB / 0.6498 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001159/0.2497, allocations: 3.328 kB / 0.6499 GB, free: 56.04 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 7.678e-05/0.2498, allocations: 93.8 kB / 0.6499 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.2499, allocations: 11.52 kB / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2499, allocations: 0 / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.2499, allocations: 13.19 kB / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.25, allocations: 5.875 kB / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.2502, allocations: 119.1 kB / 0.6501 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.777e-05/0.2502, allocations: 59.08 kB / 0.6501 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.2502, allocations: 11.27 kB / 0.6502 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.2502, allocations: 0 / 0.6502 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.00131/0.2515, allocations: 376.2 kB / 0.6505 GB, free: 55.75 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.205941745080054] Failed to read output from testmodel.py, exit status != 0: 0.25673104356974363 0.264340994 0.261301499 Calling exit ...