Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001227/0.001227, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001307/0.001307, allocations: 165 kB / 23.8 MB, free: 0.7695 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 1.119/1.119, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6165/0.6165, allocations: 115 MB / 375.7 MB, free: 7.656 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.867e-05, allocations: 2.312 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001003/0.001022, allocations: 0.6088 MB / 482.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002042/0.001226, allocations: 48.77 kB / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.00124, allocations: 0 / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.001258, allocations: 0 / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.001264, allocations: 0.6562 kB / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.00151, allocations: 21.47 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.001551, allocations: 1.406 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.001589, allocations: 0.7188 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.001613, allocations: 4.625 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.198e-05/0.001635, allocations: 8.922 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.001647, allocations: 0 / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.001742, allocations: 15.81 kB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.001754, allocations: 1 kB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.001768, allocations: 0 / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.406e-05/0.001852, allocations: 20.92 kB / 482.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.001854, allocations: 0 / 482.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.1e-07/0.001854, allocations: 0 / 482.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.001858, allocations: 0 / 482.3 MB, free: 11.44 MB / 410.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.000176/0.002034, allocations: 340.8 kB / 482.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.002072, allocations: 12.28 kB / 482.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.002264, allocations: 20.44 kB / 482.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.715e-05/0.002301, allocations: 108.1 kB / 482.8 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.002311, allocations: 1.094 kB / 482.8 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.00232, allocations: 384 / 482.8 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.002422, allocations: 46.69 kB / 482.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.002431, allocations: 3.609 kB / 482.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.002439, allocations: 2.094 kB / 482.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.002446, allocations: 384 / 482.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.002463, allocations: 5.562 kB / 482.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.931e-05/0.002542, allocations: 107.1 kB / 482.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.002579, allocations: 37.75 kB / 483 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.002596, allocations: 7.688 kB / 483 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.002618, allocations: 3.984 kB / 483 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.002634, allocations: 44.05 kB / 483 MB, free: 10.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002635, allocations: 1.281 kB / 483 MB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.002748, allocations: 28.98 kB / 483 MB, free: 10.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.002766, allocations: 56.97 kB / 483.1 MB, free: 10.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.654e-05/0.002782, allocations: 144.5 kB / 483.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/0.002787, allocations: 25.7 kB / 483.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-06/0.002797, allocations: 126.9 kB / 483.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.002824, allocations: 8.297 kB / 483.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.002846, allocations: 21.44 kB / 483.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.003094, allocations: 497.8 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.003111, allocations: 1.125 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.003119, allocations: 1.656 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.003148, allocations: 12.06 kB / 483.9 MB, free: 25.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.003151, allocations: 0.7812 kB / 483.9 MB, free: 25.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.939e-05/0.00319, allocations: 42.58 kB / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.003202, allocations: 7.344 kB / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.003207, allocations: 0 / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.003219, allocations: 0 / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.00328, allocations: 4.125 kB / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.003288, allocations: 1.031 kB / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.003302, allocations: 7.312 kB / 484 MB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.003307, allocations: 1.938 kB / 484 MB, free: 25.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.352e-05/0.003361, allocations: 153.7 kB / 484.1 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.003366, allocations: 3.094 kB / 484.1 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.003388, allocations: 4.531 kB / 484.1 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.00339, allocations: 0 / 484.1 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.003393, allocations: 0 / 484.1 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003395, allocations: 0 / 484.1 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.435e-05/0.00343, allocations: 119.4 kB / 484.3 MB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.003432, allocations: 1.125 kB / 484.3 MB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.003445, allocations: 1.781 kB / 484.3 MB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.003447, allocations: 0.8125 kB / 484.3 MB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.003452, allocations: 0 / 484.3 MB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.003452, allocations: 4 kB / 484.3 MB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.003453, allocations: 0 / 484.3 MB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.842e-05/0.003501, allocations: 78.39 kB / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.003505, allocations: 5.875 kB / 484.3 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.003513, allocations: 0 / 484.3 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.003524, allocations: 4.797 kB / 484.3 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.003536, allocations: 0.8125 kB / 484.3 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.003537, allocations: 1.062 kB / 484.3 MB, free: 25.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.093e-05/0.003568, allocations: 123 kB / 484.5 MB, free: 25.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003568, allocations: 0 / 484.5 MB, free: 25.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001136/0.003682, allocations: 1.438 kB / 484.5 MB, free: 25.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.711e-05/0.003739, allocations: 97.16 kB / 484.6 MB, free: 25.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.5e-05/0.003804, allocations: 16.92 kB / 484.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.003806, allocations: 3.219 kB / 484.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-06/0.003815, allocations: 13.72 kB / 484.6 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.561e-05/0.00391, allocations: 5.75 kB / 484.6 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.004079, allocations: 82.86 kB / 484.7 MB, free: 24.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.86e-05/0.004098, allocations: 51.36 kB / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.047e-05/0.004118, allocations: 3.5 kB / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.004142, allocations: 8.5 kB / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.004143, allocations: 1.938 kB / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of Templates: time 0.001506/0.005648, allocations: 257.5 kB / 485 MB, free: 24.79 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6733513972721994]