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.0007486/0.0007486, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009706/0.001719, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0007243/0.0007243, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009608/0.001685, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9968/0.9968, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.102, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6572/0.6572, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06696/0.7242, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.022e-06/1.022e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.763e-05, allocations: 10.19 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001074/0.001091, allocations: 0.6501 MB / 404.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 8.626e-05/0.001178, allocations: 43.83 kB / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-06/0.001185, allocations: 0 / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.815e-06/0.001188, allocations: 0 / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.62e-07/0.001188, allocations: 0 / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.099e-05/0.001259, allocations: 15.97 kB / 404.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.076e-05/0.00129, allocations: 4 kB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.872e-05/0.001319, allocations: 4 kB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.001346, allocations: 3.984 kB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.001368, allocations: 4 kB / 404.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.001376, allocations: 3.938 kB / 404.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.001459, allocations: 19.98 kB / 404.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.001469, allocations: 3.938 kB / 404.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.185e-06/0.001477, allocations: 4 kB / 404.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 6.535e-05/0.001543, allocations: 15.92 kB / 404.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.001551, allocations: 0 / 404.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.001552, allocations: 0 / 404.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.00156, allocations: 0 / 404.6 MB, free: 10.11 MB / 394.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.0001607/0.00172, allocations: 216.8 kB / 404.8 MB, free: 9.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.436e-05/0.001745, allocations: 8.031 kB / 404.8 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.001928, allocations: 98.02 kB / 404.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.809e-05/0.001976, allocations: 109.8 kB / 405 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.001982, allocations: 384 / 405 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-06/0.001988, allocations: 384 / 405 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.924e-05/0.002057, allocations: 46.95 kB / 405 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-06/0.002062, allocations: 4.125 kB / 405 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.002066, allocations: 384 / 405 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.00207, allocations: 384 / 405 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.287e-05/0.002082, allocations: 7.938 kB / 405 MB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.521e-05/0.002138, allocations: 57.05 kB / 405.1 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.56e-05/0.002163, allocations: 18.61 kB / 405.1 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-06/0.002173, allocations: 8.844 kB / 405.1 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.002184, allocations: 0 / 405.1 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.002203, allocations: 34.56 kB / 405.2 MB, free: 9.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 4.41e-07/0.002203, allocations: 0 / 405.2 MB, free: 9.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 6.55e-05/0.002269, allocations: 41.69 kB / 405.2 MB, free: 9.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.002289, allocations: 55.34 kB / 405.2 MB, free: 9.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.346e-05/0.002313, allocations: 93.98 kB / 405.3 MB, free: 9.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.002321, allocations: 25.7 kB / 405.4 MB, free: 9.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.724e-05/0.002338, allocations: 80.14 kB / 405.4 MB, free: 9.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.002357, allocations: 3.938 kB / 405.4 MB, free: 9.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.002376, allocations: 13.72 kB / 405.5 MB, free: 9.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.002441, allocations: 318.8 kB / 405.8 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-06/0.002447, allocations: 0 / 405.8 MB, free: 8.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.002454, allocations: 4 kB / 405.8 MB, free: 8.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/0.002475, allocations: 12.8 kB / 405.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.002477, allocations: 4.062 kB / 405.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.77e-05/0.002505, allocations: 29.7 kB / 405.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.002515, allocations: 7.984 kB / 405.8 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.002518, allocations: 0 / 405.8 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.002525, allocations: 0 / 405.8 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.002567, allocations: 4 kB / 405.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.002569, allocations: 0 / 405.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-06/0.002579, allocations: 0 / 405.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.002583, allocations: 4 kB / 405.8 MB, free: 8.648 MB / 394.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 4.021e-05/0.002623, allocations: 113.8 kB / 405.9 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-06/0.002629, allocations: 11.98 kB / 406 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.275e-05/0.002642, allocations: 3 kB / 406 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.002643, allocations: 0 / 406 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-06/0.002644, allocations: 0 / 406 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.002646, allocations: 4 kB / 406 MB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.789e-05/0.002684, allocations: 61.84 kB / 406 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.002685, allocations: 3.938 kB / 406 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.002701, allocations: 8 kB / 406 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-06/0.002704, allocations: 3.984 kB / 406 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.002705, allocations: 0 / 406 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-06/0.002708, allocations: 4 kB / 406 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.002708, allocations: 0 / 406 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.002709, allocations: 4 kB / 406.1 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.188e-05/0.002751, allocations: 57.06 kB / 406.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-06/0.002757, allocations: 0 / 406.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.002771, allocations: 4 kB / 406.1 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-06/0.002778, allocations: 3.938 kB / 406.1 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.002779, allocations: 0 / 406.1 MB, free: 8.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.34e-06/0.002784, allocations: 4.859 kB / 406.1 MB, free: 8.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002785, allocations: 0 / 406.1 MB, free: 8.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 8.403e-05/0.002869, allocations: 8.031 kB / 406.1 MB, free: 8.312 MB / 394.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.548e-05/0.002924, allocations: 76.36 kB / 406.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.192e-05/0.002966, allocations: 16.84 kB / 406.2 MB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.002968, allocations: 0 / 406.2 MB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.00298, allocations: 8.859 kB / 406.2 MB, free: 8.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.187e-05/0.003021, allocations: 7.938 kB / 406.2 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001212/0.003143, allocations: 94.53 kB / 406.3 MB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.232e-05/0.003165, allocations: 51.36 kB / 406.4 MB, free: 8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.003181, allocations: 0 / 406.4 MB, free: 8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.003212, allocations: 51.38 kB / 406.4 MB, free: 7.949 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.003212, allocations: 0 / 406.4 MB, free: 7.949 MB / 394.7 MB Notification: Performance of Templates: time 0.001255/0.004467, allocations: 286.5 kB / 406.7 MB, free: 7.668 MB / 394.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.1399439992383122]