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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5125/0.5125, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 117 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 47.92 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.356, allocations: 70.06 MB / 0.5575 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003258/0.3593, allocations: 1.815 MB / 0.5593 GB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3604, allocations: 0.6541 MB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.3604, allocations: 1.656 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.3605, allocations: 7.875 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.3606, allocations: 15.91 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.3611, allocations: 153.8 kB / 0.5601 GB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3612, allocations: 123.6 kB / 0.5602 GB, free: 42.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3613, allocations: 52.92 kB / 0.5602 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.3614, allocations: 59.83 kB / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.3615, allocations: 47.77 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.3616, allocations: 8 kB / 0.5604 GB, free: 42.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3617, allocations: 39.97 kB / 0.5604 GB, free: 42.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.3617, allocations: 27.89 kB / 0.5604 GB, free: 42.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.3618, allocations: 51.72 kB / 0.5605 GB, free: 42.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3619, allocations: 141.7 kB / 0.5606 GB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3619, allocations: 4 kB / 0.5606 GB, free: 42.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3619, allocations: 0 / 0.5606 GB, free: 42.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.362, allocations: 0 / 0.5606 GB, free: 42.01 MB / 410.7 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.000478/0.3624, allocations: 443 kB / 0.561 GB, free: 41.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3625, allocations: 8.031 kB / 0.561 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.3632, allocations: 116.6 kB / 0.5611 GB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/0.3633, allocations: 182.6 kB / 0.5613 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.3634, allocations: 67.97 kB / 0.5614 GB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3635, allocations: 8.375 kB / 0.5614 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.364, allocations: 169.7 kB / 0.5616 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.364, allocations: 0 / 0.5616 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.364, allocations: 0 / 0.5616 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.364, allocations: 4 kB / 0.5616 GB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.3646, allocations: 163.7 kB / 0.5617 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.3655, allocations: 489.6 kB / 0.5622 GB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.3665, allocations: 222.2 kB / 0.5624 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.3667, allocations: 88.89 kB / 0.5625 GB, free: 39.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3668, allocations: 0 / 0.5625 GB, free: 39.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3668, allocations: 38.56 kB / 0.5625 GB, free: 39.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.684e-06/0.3668, allocations: 0 / 0.5625 GB, free: 39.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009545/0.3678, allocations: 265.4 kB / 0.5628 GB, free: 39.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3678, allocations: 55.34 kB / 0.5628 GB, free: 39.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.3679, allocations: 133.8 kB / 0.5629 GB, free: 39.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3679, allocations: 29.7 kB / 0.563 GB, free: 39.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.368, allocations: 108.2 kB / 0.5631 GB, free: 39.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.368, allocations: 23.7 kB / 0.5631 GB, free: 39.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.368, allocations: 21.72 kB / 0.5631 GB, free: 39.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.3681, allocations: 322.8 kB / 0.5634 GB, free: 38.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.3684, allocations: 67.92 kB / 0.5635 GB, free: 38.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.3687, allocations: 98.48 kB / 0.5636 GB, free: 38.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.3692, allocations: 162.4 kB / 0.5637 GB, free: 38.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3692, allocations: 4 kB / 0.5637 GB, free: 38.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000592/0.3698, allocations: 201.4 kB / 0.5639 GB, free: 38.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3698, allocations: 4 kB / 0.5639 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3699, allocations: 0 / 0.5639 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3699, allocations: 12 kB / 0.564 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3701, allocations: 35.94 kB / 0.564 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3701, allocations: 4 kB / 0.564 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.3703, allocations: 24.22 kB / 0.564 GB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3703, allocations: 0 / 0.564 GB, free: 38.26 MB / 410.7 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 7.502e-05/0.3704, allocations: 121.8 kB / 0.5641 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.3705, allocations: 7.906 kB / 0.5641 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006375/0.3711, allocations: 218.1 kB / 0.5643 GB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3711, allocations: 0 / 0.5643 GB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3711, allocations: 4 kB / 0.5644 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3711, allocations: 0 / 0.5644 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3713, allocations: 234.3 kB / 0.5646 GB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3713, allocations: 0 / 0.5646 GB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.3716, allocations: 35.94 kB / 0.5646 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3716, allocations: 4 kB / 0.5646 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3716, allocations: 7.938 kB / 0.5646 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3716, allocations: 0 / 0.5646 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3716, allocations: 0 / 0.5646 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3726, allocations: 0.9306 MB / 0.5655 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.3727, allocations: 84.95 kB / 0.5656 GB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.3727, allocations: 4 kB / 0.5656 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.373, allocations: 31.89 kB / 0.5656 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.373, allocations: 11.92 kB / 0.5657 GB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.373, allocations: 7.984 kB / 0.5657 GB, free: 36.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.3731, allocations: 105.8 kB / 0.5658 GB, free: 36.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3731, allocations: 4 kB / 0.5658 GB, free: 36.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.3734, allocations: 23.94 kB / 0.5658 GB, free: 36.3 MB / 410.7 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.0001054/0.3735, allocations: 99.23 kB / 0.5659 GB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.3741, allocations: 163.8 kB / 0.566 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3741, allocations: 0 / 0.566 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.3744, allocations: 83.91 kB / 0.5661 GB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3748, allocations: 13.81 kB / 0.5661 GB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.3754, allocations: 404.2 kB / 0.5665 GB, free: 35.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.3756, allocations: 0.7043 MB / 0.5672 GB, free: 34.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.643e-05/0.3757, allocations: 16 kB / 0.5672 GB, free: 34.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.3757, allocations: 15.42 kB / 0.5672 GB, free: 34.75 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3757, allocations: 3.938 kB / 0.5672 GB, free: 34.74 MB / 410.7 MB Notification: Performance of Templates: time 0.003082/0.3788, allocations: 1.415 MB / 0.5686 GB, free: 33.34 MB / 410.7 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)