Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 109 kB / 17.04 MB, free: 5.812 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.001641/0.001641, allocations: 195 kB / 17.98 MB, free: 5.027 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 115.1 MB / 407 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 76.15 MB / 0.5576 GB, free: 36.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002482/0.3199, allocations: 1.441 MB / 0.559 GB, free: 35.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.3207, allocations: 0.564 MB / 0.5595 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.3207, allocations: 0.5938 kB / 0.5595 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.3207, allocations: 1.125 kB / 0.5595 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.911e-05/0.3208, allocations: 6.047 kB / 0.5595 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3211, allocations: 50.25 kB / 0.5596 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.3212, allocations: 27.44 kB / 0.5596 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3213, allocations: 6.547 kB / 0.5596 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.3214, allocations: 23.2 kB / 0.5596 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.3215, allocations: 14.81 kB / 0.5597 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3215, allocations: 2.312 kB / 0.5597 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3216, allocations: 55.08 kB / 0.5597 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.3216, allocations: 2.438 kB / 0.5597 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.3217, allocations: 19.86 kB / 0.5597 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3218, allocations: 65.47 kB / 0.5598 GB, free: 35.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3219, allocations: 0 / 0.5598 GB, free: 35.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3219, allocations: 1.062 kB / 0.5598 GB, free: 35.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3219, allocations: 1.062 kB / 0.5598 GB, free: 35.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003653/0.3222, allocations: 348.4 kB / 0.5601 GB, free: 35.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3223, allocations: 10.59 kB / 0.5601 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.3223, allocations: 7.469 kB / 0.5601 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.353e-05/0.3224, allocations: 170.6 kB / 0.5603 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.3224, allocations: 1.656 kB / 0.5603 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.3224, allocations: 2.781 kB / 0.5603 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3226, allocations: 50.59 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.3226, allocations: 0.7188 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.3226, allocations: 0 / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3226, allocations: 2.062 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.3227, allocations: 21.61 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.3229, allocations: 254.8 kB / 0.5606 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.323, allocations: 34.12 kB / 0.5607 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.3231, allocations: 20.03 kB / 0.5607 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.3238, allocations: 470.3 kB / 0.5611 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3238, allocations: 33.38 kB / 0.5612 GB, free: 33.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.3238, allocations: 1.594 kB / 0.5612 GB, free: 33.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002266/0.324, allocations: 71.06 kB / 0.5612 GB, free: 33.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.3241, allocations: 52.25 kB / 0.5613 GB, free: 33.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.3242, allocations: 107.7 kB / 0.5614 GB, free: 33.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.3242, allocations: 27.05 kB / 0.5614 GB, free: 33.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.3242, allocations: 87.12 kB / 0.5615 GB, free: 33.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3242, allocations: 6.438 kB / 0.5615 GB, free: 33.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.3243, allocations: 21.41 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.026e-05/0.3243, allocations: 314.2 kB / 0.5618 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.3243, allocations: 13.45 kB / 0.5618 GB, free: 33.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.3244, allocations: 8 kB / 0.5618 GB, free: 33.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.3245, allocations: 30.28 kB / 0.5619 GB, free: 33.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3245, allocations: 0 / 0.5619 GB, free: 33.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.3246, allocations: 56.75 kB / 0.5619 GB, free: 33.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3246, allocations: 5.75 kB / 0.5619 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3246, allocations: 1.562 kB / 0.5619 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3246, allocations: 3.375 kB / 0.5619 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.3247, allocations: 5.797 kB / 0.5619 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.3247, allocations: 4.453 kB / 0.5619 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.3248, allocations: 2.625 kB / 0.5619 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3248, allocations: 2.516 kB / 0.5619 GB, free: 33.21 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 (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 4.778e-05/0.3248, allocations: 116.9 kB / 0.5621 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3249, allocations: 8.453 kB / 0.5621 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.325, allocations: 61.61 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.325, allocations: 1.625 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3251, allocations: 0 / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3251, allocations: 0.5156 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.3252, allocations: 172 kB / 0.5623 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3252, allocations: 0 / 0.5623 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.3252, allocations: 7.359 kB / 0.5623 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3253, allocations: 0 / 0.5623 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3253, allocations: 2.594 kB / 0.5623 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3253, allocations: 0 / 0.5623 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3253, allocations: 4.859 kB / 0.5623 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3254, allocations: 154.3 kB / 0.5624 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.3254, allocations: 83.16 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3255, allocations: 3.359 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.3255, allocations: 10.56 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.3256, allocations: 2.828 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3256, allocations: 1.969 kB / 0.5625 GB, free: 32.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.3256, allocations: 92.73 kB / 0.5626 GB, free: 32.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3256, allocations: 0 / 0.5626 GB, free: 32.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3259, allocations: 14.33 kB / 0.5626 GB, free: 32.5 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 (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 0.0001519/0.326, allocations: 114.2 kB / 0.5628 GB, free: 32.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3262, allocations: 27.75 kB / 0.5628 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3262, allocations: 1.094 kB / 0.5628 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.3262, allocations: 10.92 kB / 0.5628 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.3264, allocations: 7.375 kB / 0.5628 GB, free: 32.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.3267, allocations: 129.6 kB / 0.5629 GB, free: 32.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.3268, allocations: 0.6798 MB / 0.5636 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.188e-05/0.3269, allocations: 1.812 kB / 0.5636 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.3269, allocations: 10.22 kB / 0.5636 GB, free: 31.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3269, allocations: 0 / 0.5636 GB, free: 31.58 MB / 446.1 MB Notification: Performance of Templates: time 0.002687/0.3296, allocations: 0.6659 MB / 0.5642 GB, free: 31.53 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)