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.001078/0.001078, allocations: 115.8 kB / 17.09 MB, free: 6.008 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.001147/0.001147, allocations: 190.8 kB / 18.02 MB, free: 5.09 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.227/1.227, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6649/0.6649, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 69.89 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1115, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002192/0.1137, allocations: 1.444 MB / 0.6342 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.1145, allocations: 0.5618 MB / 0.6347 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.1145, allocations: 0 / 0.6347 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.1146, allocations: 7.922 kB / 0.6347 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.1146, allocations: 3.938 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1149, allocations: 51.83 kB / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.1149, allocations: 27.92 kB / 0.6348 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.115, allocations: 4 kB / 0.6348 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.209e-05/0.1151, allocations: 19.91 kB / 0.6348 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.1151, allocations: 19.92 kB / 0.6348 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1152, allocations: 4 kB / 0.6348 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.1153, allocations: 51.95 kB / 0.6349 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1153, allocations: 0 / 0.6349 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1153, allocations: 19.86 kB / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1154, allocations: 59.86 kB / 0.635 GB, free: 2.102 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1154, allocations: 0 / 0.635 GB, free: 2.102 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1154, allocations: 3.938 kB / 0.635 GB, free: 2.098 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1154, allocations: 3.938 kB / 0.635 GB, free: 2.094 MB / 478.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.0003495/0.1158, allocations: 355.4 kB / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1158, allocations: 8.031 kB / 0.6353 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1159, allocations: 8.844 kB / 0.6353 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.41e-05/0.116, allocations: 164.3 kB / 0.6355 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.116, allocations: 4.375 kB / 0.6355 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.116, allocations: 4.375 kB / 0.6355 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1161, allocations: 49.98 kB / 0.6355 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1161, allocations: 3.984 kB / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1161, allocations: 0 / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1162, allocations: 0 / 0.6355 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.1162, allocations: 23.98 kB / 0.6356 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.1165, allocations: 256.8 kB / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.1166, allocations: 30.58 kB / 0.6358 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.1166, allocations: 16.91 kB / 0.6359 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007303/0.1174, allocations: 473.4 kB / 0.6363 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1174, allocations: 34.55 kB / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.1174, allocations: 0 / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002028/0.1176, allocations: 65.75 kB / 0.6364 GB, free: 376 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1177, allocations: 59.34 kB / 0.6365 GB, free: 304 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.1178, allocations: 109.8 kB / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1178, allocations: 29.7 kB / 0.6366 GB, free: 148 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.1178, allocations: 88.12 kB / 0.6367 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.1179, allocations: 3.906 kB / 0.6367 GB, free: 52 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1179, allocations: 17.72 kB / 0.6367 GB, free: 28 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.118, allocations: 310.8 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.118, allocations: 19.98 kB / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.1181, allocations: 4 kB / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.1181, allocations: 24.84 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1182, allocations: 3.938 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.1183, allocations: 57.61 kB / 0.6371 GB, free: 15.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1183, allocations: 8 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1183, allocations: 0 / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.098e-06/0.1183, allocations: 4.094 kB / 0.6371 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.1184, allocations: 4 kB / 0.6371 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1184, allocations: 4 kB / 0.6371 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.1184, allocations: 15.89 kB / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1184, allocations: 0 / 0.6371 GB, free: 15.56 MB / 494.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 5.861e-05/0.1185, allocations: 113.3 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1185, allocations: 4 kB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1187, allocations: 69.14 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1187, allocations: 3.938 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1187, allocations: 0 / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.1187, allocations: 77.11 kB / 0.6374 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1187, allocations: 4 kB / 0.6374 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.1188, allocations: 3.984 kB / 0.6374 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.1188, allocations: 3.938 kB / 0.6374 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001403/0.119, allocations: 125 kB / 0.6375 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001699/0.1192, allocations: 238.7 kB / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.302e-05/0.1192, allocations: 11.98 kB / 0.6378 GB, free: 14.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.1193, allocations: 91.27 kB / 0.6378 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Backend: time 1.91e-07/0.1193, allocations: 0 / 0.6378 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.1196, allocations: 112.2 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of SimCode: time 0.0003164/0.12, allocations: 0.5582 MB / 0.6385 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Templates: time 0.002432/0.1224, allocations: 0.7773 MB / 0.6393 GB, free: 13.28 MB / 494.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)