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.00114/0.00114, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.311/1.311, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6693/0.6693, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 17.97 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 77.14 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001299/0.1254, allocations: 1.157 MB / 0.558 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.1262, allocations: 0.5156 MB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.1262, allocations: 0 / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.1262, allocations: 4 kB / 0.5585 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.1263, allocations: 7.938 kB / 0.5585 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.1265, allocations: 35.89 kB / 0.5585 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.914e-05/0.1265, allocations: 19.92 kB / 0.5585 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.1266, allocations: 11.92 kB / 0.5585 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.1267, allocations: 7.984 kB / 0.5586 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.1267, allocations: 15.92 kB / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1267, allocations: 0 / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.1268, allocations: 51.89 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.1269, allocations: 7.984 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.1269, allocations: 29.64 kB / 0.5587 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.127, allocations: 39.95 kB / 0.5587 GB, free: 9.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.127, allocations: 0 / 0.5587 GB, free: 9.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.127, allocations: 0 / 0.5587 GB, free: 9.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.127, allocations: 0 / 0.5587 GB, free: 9.684 MB / 430.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.0003512/0.1274, allocations: 347.5 kB / 0.559 GB, free: 9.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1274, allocations: 12.02 kB / 0.559 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.1274, allocations: 8 kB / 0.559 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.193e-05/0.1275, allocations: 167 kB / 0.5592 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1275, allocations: 4 kB / 0.5592 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/0.1276, allocations: 0 / 0.5592 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1277, allocations: 45.67 kB / 0.5593 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1277, allocations: 3.953 kB / 0.5593 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1277, allocations: 4 kB / 0.5593 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1277, allocations: 0 / 0.5593 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.68e-05/0.1278, allocations: 27.92 kB / 0.5593 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.1281, allocations: 256.9 kB / 0.5595 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.865e-05/0.1282, allocations: 30.58 kB / 0.5596 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007842/0.129, allocations: 0.4936 MB / 0.56 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.129, allocations: 34.56 kB / 0.5601 GB, free: 8.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.129, allocations: 0 / 0.5601 GB, free: 8.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.1292, allocations: 69.61 kB / 0.5601 GB, free: 7.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1293, allocations: 55.53 kB / 0.5602 GB, free: 7.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.1294, allocations: 109.8 kB / 0.5603 GB, free: 7.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1294, allocations: 25.7 kB / 0.5603 GB, free: 7.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.1294, allocations: 84.14 kB / 0.5604 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1294, allocations: 11.84 kB / 0.5604 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.1294, allocations: 0 / 0.5604 GB, free: 7.629 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.1295, allocations: 318.8 kB / 0.5607 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.1296, allocations: 8 kB / 0.5607 GB, free: 7.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.1296, allocations: 19.98 kB / 0.5607 GB, free: 7.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.1297, allocations: 8 kB / 0.5608 GB, free: 7.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1297, allocations: 0 / 0.5608 GB, free: 7.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.1298, allocations: 65.52 kB / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1298, allocations: 7.953 kB / 0.5608 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1299, allocations: 4.094 kB / 0.5608 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.1299, allocations: 3.938 kB / 0.5608 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.1299, allocations: 8 kB / 0.5608 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.13, allocations: 0 / 0.5608 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.13, allocations: 8 kB / 0.5608 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.13, allocations: 3.984 kB / 0.5608 GB, free: 7.168 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.1301, allocations: 107.6 kB / 0.561 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1301, allocations: 4 kB / 0.561 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.1303, allocations: 81.09 kB / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1303, allocations: 0 / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1303, allocations: 0 / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1303, allocations: 0 / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1304, allocations: 157.7 kB / 0.5612 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1304, allocations: 0 / 0.5612 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.1305, allocations: 7.984 kB / 0.5612 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1305, allocations: 3.984 kB / 0.5612 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1305, allocations: 4.031 kB / 0.5612 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1305, allocations: 7.953 kB / 0.5612 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1305, allocations: 0 / 0.5612 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.1307, allocations: 155.4 kB / 0.5614 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.1307, allocations: 81.05 kB / 0.5614 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1307, allocations: 4.031 kB / 0.5614 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.1308, allocations: 8 kB / 0.5614 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.1308, allocations: 7.938 kB / 0.5615 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1309, allocations: 4 kB / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.1309, allocations: 83.28 kB / 0.5615 GB, free: 6.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.213e-06/0.1309, allocations: 0 / 0.5615 GB, free: 6.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1312, allocations: 19.94 kB / 0.5616 GB, free: 6.348 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001405/0.1313, allocations: 111.9 kB / 0.5617 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1314, allocations: 31.98 kB / 0.5617 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1314, allocations: 0 / 0.5617 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.1315, allocations: 15.98 kB / 0.5617 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1316, allocations: 0 / 0.5617 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.1319, allocations: 140.6 kB / 0.5618 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1321, allocations: 0.6848 MB / 0.5625 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.186e-05/0.1321, allocations: 4 kB / 0.5625 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.1321, allocations: 11.44 kB / 0.5625 GB, free: 5.293 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1321, allocations: 0 / 0.5625 GB, free: 5.293 MB / 430.1 MB Notification: Performance of Templates: time 0.002467/0.1346, allocations: 0.6261 MB / 0.5631 GB, free: 4.672 MB / 430.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)