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.001106/0.001106, allocations: 104.4 kB / 16.52 MB, free: 6.652 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.001093/0.001093, allocations: 198.7 kB / 17.44 MB, free: 6.047 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: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7871/0.7871, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.88 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.337, allocations: 76.17 MB / 0.5564 GB, free: 35.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002591/0.3396, allocations: 1.817 MB / 0.5581 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.3405, allocations: 0.6664 MB / 0.5588 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.3406, allocations: 0 / 0.5588 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.3406, allocations: 7.656 kB / 0.5588 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.3407, allocations: 11.69 kB / 0.5588 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.3411, allocations: 164.2 kB / 0.559 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.3412, allocations: 114.4 kB / 0.5591 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3414, allocations: 42.3 kB / 0.5591 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3415, allocations: 53.5 kB / 0.5592 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.3416, allocations: 52 kB / 0.5592 GB, free: 33.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.3416, allocations: 7.469 kB / 0.5592 GB, free: 33.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3417, allocations: 46.78 kB / 0.5593 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.3417, allocations: 25.05 kB / 0.5593 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.3418, allocations: 54.34 kB / 0.5593 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3419, allocations: 100.6 kB / 0.5594 GB, free: 33.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3419, allocations: 0 / 0.5594 GB, free: 33.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.342, allocations: 0 / 0.5594 GB, free: 33.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.342, allocations: 0 / 0.5594 GB, free: 33.74 MB / 446.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.0004733/0.3424, allocations: 437.7 kB / 0.5599 GB, free: 33.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3425, allocations: 13.88 kB / 0.5599 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000836/0.3433, allocations: 112 kB / 0.56 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.3434, allocations: 183.9 kB / 0.5602 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.3435, allocations: 65.03 kB / 0.5602 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3435, allocations: 5.344 kB / 0.5602 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.344, allocations: 178.4 kB / 0.5604 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.344, allocations: 0.875 kB / 0.5604 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3441, allocations: 5.219 kB / 0.5604 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3441, allocations: 1.781 kB / 0.5604 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.3447, allocations: 162.6 kB / 0.5606 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3457, allocations: 492.3 kB / 0.561 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.3467, allocations: 217.7 kB / 0.5612 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.347, allocations: 78.94 kB / 0.5613 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.347, allocations: 9.812 kB / 0.5613 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.347, allocations: 32.53 kB / 0.5613 GB, free: 32.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.347, allocations: 4.875 kB / 0.5614 GB, free: 32.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009538/0.348, allocations: 267.4 kB / 0.5616 GB, free: 32.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.348, allocations: 53.3 kB / 0.5617 GB, free: 32.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.3481, allocations: 136.8 kB / 0.5618 GB, free: 32.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3481, allocations: 28.28 kB / 0.5618 GB, free: 32.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.3482, allocations: 114.4 kB / 0.5619 GB, free: 32.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3482, allocations: 16.44 kB / 0.5619 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.3482, allocations: 23.89 kB / 0.562 GB, free: 32.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.3483, allocations: 320 kB / 0.5623 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.3486, allocations: 75.72 kB / 0.5623 GB, free: 31.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.3489, allocations: 95.19 kB / 0.5624 GB, free: 31.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.3495, allocations: 163.5 kB / 0.5626 GB, free: 31.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3495, allocations: 1.156 kB / 0.5626 GB, free: 31.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006425/0.3501, allocations: 201 kB / 0.5628 GB, free: 31.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3501, allocations: 5.125 kB / 0.5628 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3501, allocations: 1.812 kB / 0.5628 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.3502, allocations: 5.812 kB / 0.5628 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3504, allocations: 40.42 kB / 0.5628 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3504, allocations: 1.188 kB / 0.5628 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3506, allocations: 31.41 kB / 0.5629 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3506, allocations: 7.875 kB / 0.5629 GB, free: 31.52 MB / 446.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 6.879e-05/0.3507, allocations: 116.3 kB / 0.563 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.3508, allocations: 8.375 kB / 0.563 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.3515, allocations: 207.6 kB / 0.5632 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3515, allocations: 5.531 kB / 0.5632 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3515, allocations: 5.609 kB / 0.5632 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3515, allocations: 1.312 kB / 0.5632 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3517, allocations: 236.9 kB / 0.5634 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3517, allocations: 0.9688 kB / 0.5634 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.352, allocations: 37.34 kB / 0.5635 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.352, allocations: 1.125 kB / 0.5635 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.352, allocations: 10.58 kB / 0.5635 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.352, allocations: 0.875 kB / 0.5635 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.352, allocations: 2.062 kB / 0.5635 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.3527, allocations: 284 kB / 0.5637 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3527, allocations: 84.61 kB / 0.5638 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3527, allocations: 6.547 kB / 0.5638 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.353, allocations: 33.84 kB / 0.5639 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.3531, allocations: 5.438 kB / 0.5639 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.3531, allocations: 12.05 kB / 0.5639 GB, free: 30.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.237e-05/0.3532, allocations: 107.2 kB / 0.564 GB, free: 30.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3532, allocations: 2.438 kB / 0.564 GB, free: 30.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3534, allocations: 32.09 kB / 0.564 GB, free: 30.71 MB / 446.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 9.118e-05/0.3535, allocations: 96.48 kB / 0.5641 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.3542, allocations: 161.6 kB / 0.5643 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3542, allocations: 4.969 kB / 0.5643 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.3545, allocations: 77.98 kB / 0.5643 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3548, allocations: 11.83 kB / 0.5644 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.3554, allocations: 326.6 kB / 0.5647 GB, free: 30.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3555, allocations: 0.701 MB / 0.5653 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.3556, allocations: 15.19 kB / 0.5654 GB, free: 29.63 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3556, allocations: 0 / 0.5654 GB, free: 29.63 MB / 446.1 MB Notification: Performance of Templates: time 0.003158/0.3588, allocations: 1.591 MB / 0.5669 GB, free: 29.54 MB / 446.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)