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.001308/0.001308, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001161/0.001161, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9475/0.9475, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.00204/0.00204, allocations: 241.5 kB / 261.3 MB, free: 12.66 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.7222/0.7222, allocations: 138.4 MB / 456.3 MB, free: 30.01 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.403e-06/1.403e-06, allocations: 0 / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.626e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001047/0.001063, allocations: 0.5291 MB / 0.5568 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.001166, allocations: 16.69 kB / 0.5569 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.001193, allocations: 0 / 0.5569 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.001207, allocations: 0 / 0.5569 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.001338, allocations: 11.86 kB / 0.5569 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.376e-06/0.001341, allocations: 0 / 0.5569 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.468e-05/0.001386, allocations: 4 kB / 0.5569 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.001421, allocations: 0 / 0.5569 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.001467, allocations: 7.984 kB / 0.5569 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.001502, allocations: 7.938 kB / 0.5569 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.001513, allocations: 0 / 0.5569 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-06/0.001518, allocations: 0 / 0.5569 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.00153, allocations: 7.984 kB / 0.5569 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-06/0.001539, allocations: 0 / 0.5569 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.299e-05/0.001582, allocations: 7.938 kB / 0.5569 GB, free: 15.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001584, allocations: 0 / 0.5569 GB, free: 15.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001585, allocations: 0 / 0.5569 GB, free: 15.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.001589, allocations: 0 / 0.5569 GB, free: 15.3 MB / 490.7 MB 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.0002307/0.001819, allocations: 332.4 kB / 0.5572 GB, free: 14.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.001862, allocations: 13.94 kB / 0.5572 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.001886, allocations: 0.9375 kB / 0.5572 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.237e-05/0.001969, allocations: 109 kB / 0.5573 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.001984, allocations: 4.359 kB / 0.5573 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.00199, allocations: 12.31 kB / 0.5574 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.199e-05/0.002062, allocations: 49.64 kB / 0.5574 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.002067, allocations: 192 / 0.5574 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.002073, allocations: 384 / 0.5574 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.002078, allocations: 384 / 0.5574 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.337e-05/0.002091, allocations: 11.92 kB / 0.5574 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.21e-05/0.002173, allocations: 108.8 kB / 0.5575 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.002217, allocations: 54.12 kB / 0.5576 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.002235, allocations: 23.5 kB / 0.5576 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.00225, allocations: 4 kB / 0.5576 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.002271, allocations: 37.33 kB / 0.5576 GB, free: 14.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.002272, allocations: 4 kB / 0.5576 GB, free: 14.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001031/0.002375, allocations: 41.62 kB / 0.5577 GB, free: 14.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.00241, allocations: 77.11 kB / 0.5577 GB, free: 14.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.002478, allocations: 153.9 kB / 0.5579 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.00249, allocations: 29.7 kB / 0.5579 GB, free: 14.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.002522, allocations: 126.9 kB / 0.558 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.002549, allocations: 4.328 kB / 0.558 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.002577, allocations: 27.36 kB / 0.5581 GB, free: 13.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004305/0.003007, allocations: 0.4883 MB / 0.5585 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.003016, allocations: 0 / 0.5585 GB, free: 13.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.003034, allocations: 19.38 kB / 0.5586 GB, free: 13.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.003065, allocations: 27.31 kB / 0.5586 GB, free: 13.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.003067, allocations: 0 / 0.5586 GB, free: 13.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.769e-05/0.003115, allocations: 37.69 kB / 0.5586 GB, free: 13.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.003127, allocations: 8.125 kB / 0.5586 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.003131, allocations: 4 kB / 0.5586 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.003138, allocations: 0 / 0.5586 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.00319, allocations: 7.938 kB / 0.5586 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.003193, allocations: 0 / 0.5586 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.003204, allocations: 3.938 kB / 0.5587 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.003209, allocations: 3.938 kB / 0.5587 GB, free: 13.26 MB / 490.7 MB 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 5.894e-05/0.003268, allocations: 156.6 kB / 0.5588 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-06/0.003273, allocations: 0 / 0.5588 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.003345, allocations: 52.62 kB / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.003347, allocations: 4 kB / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.00335, allocations: 3.984 kB / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.003354, allocations: 0 / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.536e-05/0.003409, allocations: 97.2 kB / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00341, allocations: 4 kB / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.003418, allocations: 0 / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.003419, allocations: 4 kB / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.003424, allocations: 4 kB / 0.559 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003424, allocations: 3.938 kB / 0.559 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.003425, allocations: 0 / 0.559 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.35e-05/0.003489, allocations: 92.06 kB / 0.5591 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.00351, allocations: 0 / 0.5591 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.003518, allocations: 4 kB / 0.5591 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-06/0.003525, allocations: 0 / 0.5591 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.003536, allocations: 3.984 kB / 0.5591 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.003538, allocations: 0 / 0.5591 GB, free: 12.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.003567, allocations: 127.2 kB / 0.5592 GB, free: 12.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003567, allocations: 0 / 0.5592 GB, free: 12.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001154/0.003682, allocations: 0 / 0.5592 GB, free: 12.65 MB / 490.7 MB 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 5.98e-05/0.003742, allocations: 95.38 kB / 0.5593 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.149e-05/0.003793, allocations: 27.61 kB / 0.5593 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.003795, allocations: 0 / 0.5593 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-06/0.003803, allocations: 15.67 kB / 0.5593 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.017e-05/0.003893, allocations: 3.938 kB / 0.5593 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/0.00405, allocations: 106.2 kB / 0.5594 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.004077, allocations: 55.34 kB / 0.5595 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.44e-05/0.004091, allocations: 4.25 kB / 0.5595 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.004123, allocations: 70.2 kB / 0.5595 GB, free: 12.21 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.004124, allocations: 0 / 0.5595 GB, free: 12.21 MB / 490.7 MB Notification: Performance of Templates: time 0.001387/0.005511, allocations: 243.8 kB / 0.5598 GB, free: 11.97 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3949941149912775]