Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 117.7 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.001014/0.001014, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.225/1.225, 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.6657/0.6657, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 62.83 kB / 0.5584 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002202/0.1192, allocations: 1.426 MB / 0.6341 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.1198, allocations: 471.8 kB / 0.6346 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.1199, allocations: 4 kB / 0.6346 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.1199, allocations: 3.938 kB / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.12, allocations: 3.938 kB / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1202, allocations: 19.97 kB / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.1202, allocations: 27.86 kB / 0.6346 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.449e-05/0.1203, allocations: 12 kB / 0.6347 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.1204, allocations: 11.92 kB / 0.6347 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.1204, allocations: 15.92 kB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1204, allocations: 0 / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.1205, allocations: 19.98 kB / 0.6347 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1205, allocations: 7.984 kB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1205, allocations: 7.938 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.1206, allocations: 35.89 kB / 0.6348 GB, free: 2.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1206, allocations: 4 kB / 0.6348 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1206, allocations: 0 / 0.6348 GB, free: 2.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1207, allocations: 4 kB / 0.6348 GB, free: 2.312 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.0003835/0.121, allocations: 339.4 kB / 0.6351 GB, free: 1.934 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1211, allocations: 8.031 kB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1211, allocations: 4.938 kB / 0.6351 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1212, allocations: 172.2 kB / 0.6353 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1212, allocations: 384 / 0.6353 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1213, allocations: 384 / 0.6353 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1214, allocations: 53.98 kB / 0.6353 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.1214, allocations: 4 kB / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1215, allocations: 0 / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1215, allocations: 0 / 0.6353 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1216, allocations: 35.95 kB / 0.6354 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.1219, allocations: 252.9 kB / 0.6356 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1221, allocations: 46.53 kB / 0.6356 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.1222, allocations: 24.91 kB / 0.6357 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.1223, allocations: 85.09 kB / 0.6357 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1223, allocations: 34.5 kB / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1223, allocations: 0 / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003432/0.1227, allocations: 89.58 kB / 0.6359 GB, free: 1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.1227, allocations: 51.41 kB / 0.6359 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/0.1228, allocations: 101.9 kB / 0.636 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1228, allocations: 25.7 kB / 0.636 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.1228, allocations: 80.14 kB / 0.6361 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1228, allocations: 15.83 kB / 0.6361 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1229, allocations: 13.72 kB / 0.6361 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.123, allocations: 315 kB / 0.6364 GB, free: 372 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.76e-05/0.1231, allocations: 19.92 kB / 0.6365 GB, free: 352 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1232, allocations: 19.97 kB / 0.6365 GB, free: 332 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1233, allocations: 40.83 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1233, allocations: 3.938 kB / 0.6365 GB, free: 284 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.1235, allocations: 69.66 kB / 0.6366 GB, free: 208 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1235, allocations: 8 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1235, allocations: 0 / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1236, allocations: 3.984 kB / 0.6366 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.1236, allocations: 11.98 kB / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1236, allocations: 0 / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1237, allocations: 4 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1237, allocations: 0 / 0.6366 GB, free: 180 kB / 478.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 6.508e-05/0.1238, allocations: 117.8 kB / 0.6367 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.1238, allocations: 11.89 kB / 0.6367 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.124, allocations: 64.78 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1241, allocations: 0 / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1241, allocations: 0 / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.1241, allocations: 85.05 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1241, allocations: 0 / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.1242, allocations: 12.02 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1242, allocations: 7.938 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002301/0.1245, allocations: 140.9 kB / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002417/0.1247, allocations: 238.8 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.465e-05/0.1248, allocations: 27.91 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.026e-05/0.1249, allocations: 83.53 kB / 0.6374 GB, free: 15.34 MB / 494.1 MB Notification: Performance of Backend: time 1.8e-07/0.1249, allocations: 3.938 kB / 0.6374 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.1253, allocations: 98.38 kB / 0.6375 GB, free: 15.23 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004/0.1257, allocations: 0.5571 MB / 0.638 GB, free: 14.62 MB / 494.1 MB Notification: Performance of Templates: time 0.002414/0.1281, allocations: 0.665 MB / 0.6387 GB, free: 13.97 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)