Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001767/0.001766, allocations: 196 kB / 17.34 MB, free: 5.719 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.539/1.539, allocations: 222.9 MB / 241 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.7884/0.7884, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.52 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 76.19 MB / 0.6321 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002748/0.1515, allocations: 1.753 MB / 0.6338 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1526, allocations: 0.6709 MB / 0.6345 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1527, allocations: 0 / 0.6345 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.1527, allocations: 7.875 kB / 0.6345 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.1528, allocations: 19.8 kB / 0.6345 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.1533, allocations: 172.1 kB / 0.6346 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1535, allocations: 127.6 kB / 0.6348 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.1537, allocations: 45.09 kB / 0.6348 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1538, allocations: 63.77 kB / 0.6349 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.1539, allocations: 47.77 kB / 0.6349 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.154, allocations: 12 kB / 0.6349 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1541, allocations: 47.95 kB / 0.635 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1541, allocations: 23.92 kB / 0.635 GB, free: 1.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.1542, allocations: 59.7 kB / 0.6351 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1544, allocations: 151.5 kB / 0.6352 GB, free: 1.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1544, allocations: 4 kB / 0.6352 GB, free: 1.293 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1544, allocations: 3.938 kB / 0.6352 GB, free: 1.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1545, allocations: 0 / 0.6352 GB, free: 1.289 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005922/0.1551, allocations: 435 kB / 0.6356 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1551, allocations: 8.031 kB / 0.6356 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/0.156, allocations: 108.7 kB / 0.6357 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1561, allocations: 192.1 kB / 0.6359 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.1562, allocations: 59.95 kB / 0.636 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1563, allocations: 12.38 kB / 0.636 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.1568, allocations: 171 kB / 0.6361 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1568, allocations: 3.984 kB / 0.6361 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1569, allocations: 4 kB / 0.6362 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1569, allocations: 4 kB / 0.6362 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.1575, allocations: 155.8 kB / 0.6363 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1587, allocations: 489.6 kB / 0.6368 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1598, allocations: 214.3 kB / 0.637 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.1601, allocations: 84.91 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1602, allocations: 3.984 kB / 0.6371 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1602, allocations: 34.56 kB / 0.6371 GB, free: 15.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1602, allocations: 0 / 0.6371 GB, free: 15.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001089/0.1613, allocations: 269.4 kB / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.1614, allocations: 51.41 kB / 0.6374 GB, free: 14.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1615, allocations: 147.4 kB / 0.6375 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1615, allocations: 29.7 kB / 0.6376 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.1616, allocations: 108.2 kB / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1617, allocations: 23.59 kB / 0.6377 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.1617, allocations: 29.7 kB / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1619, allocations: 322.8 kB / 0.638 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1622, allocations: 67.92 kB / 0.6381 GB, free: 14.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.1625, allocations: 94.5 kB / 0.6382 GB, free: 14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.1632, allocations: 170.4 kB / 0.6383 GB, free: 13.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1632, allocations: 0 / 0.6383 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007239/0.1639, allocations: 197.4 kB / 0.6385 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.164, allocations: 4 kB / 0.6385 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.164, allocations: 0 / 0.6385 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.164, allocations: 12 kB / 0.6386 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.1643, allocations: 36.27 kB / 0.6386 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1643, allocations: 7.938 kB / 0.6386 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1645, allocations: 23.97 kB / 0.6386 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1645, allocations: 3.984 kB / 0.6386 GB, free: 13.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001001/0.1646, allocations: 117.8 kB / 0.6387 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.1647, allocations: 11.91 kB / 0.6387 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/0.1655, allocations: 206.1 kB / 0.6389 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1655, allocations: 0 / 0.6389 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1655, allocations: 4 kB / 0.6389 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1655, allocations: 3.984 kB / 0.6389 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1658, allocations: 238.3 kB / 0.6392 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1658, allocations: 4 kB / 0.6392 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.166, allocations: 27.95 kB / 0.6392 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.166, allocations: 4 kB / 0.6392 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1661, allocations: 3.938 kB / 0.6392 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1661, allocations: 0 / 0.6392 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1661, allocations: 0 / 0.6392 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.1669, allocations: 287.3 kB / 0.6395 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.1669, allocations: 92.91 kB / 0.6396 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1669, allocations: 3.938 kB / 0.6396 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.1673, allocations: 31.95 kB / 0.6396 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1673, allocations: 8 kB / 0.6396 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1673, allocations: 3.984 kB / 0.6396 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.862e-05/0.1674, allocations: 114.3 kB / 0.6397 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1674, allocations: 0 / 0.6397 GB, free: 12.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1677, allocations: 20 kB / 0.6398 GB, free: 12.28 MB / 494.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 (6): * Single equations (assignments): 6 * 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.0001177/0.1678, allocations: 99.25 kB / 0.6398 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007249/0.1686, allocations: 159.8 kB / 0.64 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1686, allocations: 4 kB / 0.64 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.1689, allocations: 83.98 kB / 0.6401 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1693, allocations: 18.2 kB / 0.6401 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.17, allocations: 263.3 kB / 0.6404 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1703, allocations: 0.7002 MB / 0.641 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1704, allocations: 16 kB / 0.641 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.1705, allocations: 19.42 kB / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1705, allocations: 0 / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of Templates: time 0.003963/0.1745, allocations: 1.476 MB / 0.6425 GB, free: 9.402 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)