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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001307, allocations: 107.5 kB / 17.03 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 190.9 kB / 17.97 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6964/0.6964, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 71.73 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3385, allocations: 76.15 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001679/0.3402, allocations: 0.5575 MB / 0.5581 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.3405, allocations: 50.34 kB / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.3405, allocations: 0 / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.3405, allocations: 0 / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.618e-06/0.3405, allocations: 2.094 kB / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.3408, allocations: 16.77 kB / 0.5582 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.085e-05/0.3408, allocations: 5.109 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.3409, allocations: 2.469 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.3409, allocations: 2.688 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.3409, allocations: 1.5 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.3409, allocations: 0 / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.341, allocations: 21.41 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.341, allocations: 1.781 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.3411, allocations: 0 / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.243e-05/0.3411, allocations: 23.23 kB / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3411, allocations: 0 / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3411, allocations: 0 / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3412, allocations: 2.406 kB / 0.5583 GB, free: 36.29 MB / 446.1 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.0002046/0.3414, allocations: 318.5 kB / 0.5586 GB, free: 35.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3414, allocations: 9.312 kB / 0.5586 GB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.3416, allocations: 23.95 kB / 0.5586 GB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.928e-05/0.3417, allocations: 160.4 kB / 0.5587 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3417, allocations: 5.359 kB / 0.5587 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.3417, allocations: 384 / 0.5587 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3418, allocations: 40.8 kB / 0.5588 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3419, allocations: 2.188 kB / 0.5588 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3419, allocations: 3.938 kB / 0.5588 GB, free: 35.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3419, allocations: 2.156 kB / 0.5588 GB, free: 35.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.342, allocations: 10.66 kB / 0.5588 GB, free: 35.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.35e-05/0.3421, allocations: 148.7 kB / 0.5589 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.3421, allocations: 21.33 kB / 0.559 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.3422, allocations: 11.78 kB / 0.559 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3422, allocations: 0.7812 kB / 0.559 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.3422, allocations: 37.69 kB / 0.559 GB, free: 35.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3422, allocations: 0 / 0.559 GB, free: 35.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001981/0.3424, allocations: 48.94 kB / 0.5591 GB, free: 35.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.3425, allocations: 56.75 kB / 0.5591 GB, free: 35.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.73e-05/0.3425, allocations: 91.73 kB / 0.5592 GB, free: 35.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.3425, allocations: 25.7 kB / 0.5592 GB, free: 35.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.323e-05/0.3425, allocations: 84.42 kB / 0.5593 GB, free: 35.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3426, allocations: 0 / 0.5593 GB, free: 35.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.3426, allocations: 12.22 kB / 0.5593 GB, free: 35.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.3426, allocations: 312.1 kB / 0.5596 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.3427, allocations: 6.734 kB / 0.5596 GB, free: 34.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.3427, allocations: 6.234 kB / 0.5596 GB, free: 34.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.3428, allocations: 28.62 kB / 0.5597 GB, free: 34.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3428, allocations: 0 / 0.5597 GB, free: 34.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.678e-05/0.3429, allocations: 39.73 kB / 0.5597 GB, free: 34.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.3429, allocations: 5.406 kB / 0.5597 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3429, allocations: 2.5 kB / 0.5597 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3429, allocations: 4.641 kB / 0.5597 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.343, allocations: 8.078 kB / 0.5597 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.343, allocations: 0 / 0.5597 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.3431, allocations: 2.594 kB / 0.5597 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3431, allocations: 0 / 0.5597 GB, free: 34.73 MB / 446.1 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.095e-05/0.3431, allocations: 109 kB / 0.5598 GB, free: 34.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.3431, allocations: 3.531 kB / 0.5598 GB, free: 34.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.3432, allocations: 8.531 kB / 0.5598 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3432, allocations: 0 / 0.5598 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3432, allocations: 4.062 kB / 0.5598 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3432, allocations: 1.344 kB / 0.5598 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.014e-05/0.3432, allocations: 149.1 kB / 0.56 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3432, allocations: 3.938 kB / 0.56 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.3433, allocations: 9.375 kB / 0.56 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3433, allocations: 1.562 kB / 0.56 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3433, allocations: 4.844 kB / 0.56 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3433, allocations: 0 / 0.56 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3433, allocations: 2.219 kB / 0.56 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.3434, allocations: 66.34 kB / 0.5601 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.3435, allocations: 83.64 kB / 0.5601 GB, free: 34.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.3435, allocations: 4.906 kB / 0.5601 GB, free: 34.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/0.3435, allocations: 6.609 kB / 0.5602 GB, free: 34.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.3435, allocations: 2.312 kB / 0.5602 GB, free: 34.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3435, allocations: 0 / 0.5602 GB, free: 34.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.3436, allocations: 79.09 kB / 0.5602 GB, free: 34.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 0 / 0.5602 GB, free: 34.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001689/0.3437, allocations: 1.438 kB / 0.5602 GB, free: 34.16 MB / 446.1 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 9.798e-05/0.3438, allocations: 96.88 kB / 0.5603 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.344, allocations: 18.42 kB / 0.5603 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.344, allocations: 0 / 0.5603 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.344, allocations: 6.453 kB / 0.5603 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.3441, allocations: 9.391 kB / 0.5604 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.3444, allocations: 87.95 kB / 0.5604 GB, free: 33.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.3445, allocations: 0.6702 MB / 0.5611 GB, free: 33.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.877e-05/0.3445, allocations: 4.188 kB / 0.5611 GB, free: 33.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.3445, allocations: 9.75 kB / 0.5611 GB, free: 33.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3445, allocations: 0 / 0.5611 GB, free: 33.27 MB / 446.1 MB Notification: Performance of Templates: time 0.0019/0.3464, allocations: 221.7 kB / 0.5613 GB, free: 33.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (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=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)