Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001077/0.001077, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001154/0.001154, allocations: 169 kB / 23.49 MB, free: 1.062 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.9909/0.9909, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.001937/0.001937, allocations: 241 kB / 260.5 MB, free: 12.88 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.7485/0.7485, allocations: 138.4 MB / 455.4 MB, free: 1.547 MB / 362.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.555 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.614e-05, allocations: 5.828 kB / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001118/0.001144, allocations: 0.5401 MB / 0.5555 GB, free: 376 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001462/0.00129, allocations: 35.88 kB / 0.5556 GB, free: 340 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.001338, allocations: 0 / 0.5556 GB, free: 340 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.001376, allocations: 7.938 kB / 0.5556 GB, free: 332 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.00152, allocations: 11.88 kB / 0.5556 GB, free: 320 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.622e-05/0.001566, allocations: 3.984 kB / 0.5556 GB, free: 316 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.001622, allocations: 12 kB / 0.5556 GB, free: 304 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.001659, allocations: 0 / 0.5556 GB, free: 304 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.001712, allocations: 11.92 kB / 0.5556 GB, free: 292 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.001775, allocations: 11.97 kB / 0.5556 GB, free: 280 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.001798, allocations: 0 / 0.5556 GB, free: 280 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.001806, allocations: 0 / 0.5556 GB, free: 280 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.001859, allocations: 8 kB / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.001883, allocations: 4 kB / 0.5556 GB, free: 268 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 7.247e-05/0.001955, allocations: 19.86 kB / 0.5557 GB, free: 248 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.001957, allocations: 0 / 0.5557 GB, free: 248 kB / 474.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.001958, allocations: 0 / 0.5557 GB, free: 248 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.001962, allocations: 0 / 0.5557 GB, free: 248 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003445/0.002306, allocations: 356.7 kB / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.002342, allocations: 8.75 kB / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.002377, allocations: 8.891 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.002511, allocations: 116.5 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.002519, allocations: 384 / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.002536, allocations: 384 / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.977e-05/0.002606, allocations: 34.27 kB / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.002612, allocations: 192 / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.002621, allocations: 4.359 kB / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.002629, allocations: 384 / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.164e-05/0.00264, allocations: 7.875 kB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.002747, allocations: 112.6 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/0.002783, allocations: 31.09 kB / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.002806, allocations: 7.688 kB / 0.5563 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.002818, allocations: 0 / 0.5563 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.002839, allocations: 41.44 kB / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.002839, allocations: 4 kB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.002957, allocations: 37.59 kB / 0.5564 GB, free: 15.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.002986, allocations: 51.41 kB / 0.5564 GB, free: 15.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.003068, allocations: 173.9 kB / 0.5566 GB, free: 15.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.003077, allocations: 25.7 kB / 0.5566 GB, free: 15.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.003114, allocations: 130.9 kB / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.003131, allocations: 0 / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.003158, allocations: 23.36 kB / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.003261, allocations: 496.1 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.003274, allocations: 4 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.003292, allocations: 19.5 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.003324, allocations: 23.31 kB / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003326, allocations: 0 / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.512e-05/0.003381, allocations: 49.64 kB / 0.5573 GB, free: 14.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.003394, allocations: 6.969 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.003398, allocations: 3.938 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.003411, allocations: 0 / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.00347, allocations: 8.062 kB / 0.5574 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.003475, allocations: 4 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.00349, allocations: 11.92 kB / 0.5574 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.003495, allocations: 0 / 0.5574 GB, free: 14.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 0.0003092/0.003804, allocations: 152.6 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.003811, allocations: 8 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.599e-05/0.003887, allocations: 41.41 kB / 0.5576 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.00389, allocations: 3.984 kB / 0.5576 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.003895, allocations: 4 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.003899, allocations: 3.938 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.707e-05/0.003966, allocations: 124.6 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.003967, allocations: 0 / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.004006, allocations: 4 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.004008, allocations: 0 / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.004019, allocations: 3.938 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.00402, allocations: 4 kB / 0.5577 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.004022, allocations: 0 / 0.5577 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.82e-05/0.00411, allocations: 84.33 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.004126, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.004137, allocations: 4 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-06/0.004147, allocations: 8.047 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.004161, allocations: 4 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.004163, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.004198, allocations: 127.2 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004198, allocations: 0 / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001162/0.004314, allocations: 7.938 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 6.678e-05/0.004381, allocations: 95.23 kB / 0.558 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.757e-05/0.004448, allocations: 19.62 kB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.00445, allocations: 0 / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.00446, allocations: 15.81 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.004564, allocations: 4 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.004783, allocations: 114.3 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.004818, allocations: 55.34 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.819e-05/0.004836, allocations: 7.938 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.004857, allocations: 8.5 kB / 0.5582 GB, free: 13.24 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004857, allocations: 0 / 0.5582 GB, free: 13.24 MB / 490.7 MB Notification: Performance of Templates: time 0.001797/0.006654, allocations: 361 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6125360790174454]