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.0009954/0.0009954, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.001176/0.001176, allocations: 179.9 kB / 17.58 MB, free: 6.188 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.337/1.337, allocations: 223.3 MB / 241.6 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7194/0.7194, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003464, allocations: 16 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3638, allocations: 77.52 MB / 0.5606 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001837/0.3657, allocations: 1.472 MB / 0.562 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3668, allocations: 0.657 MB / 0.5627 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.3668, allocations: 1.312 kB / 0.5627 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.3668, allocations: 7.453 kB / 0.5627 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.3669, allocations: 16.08 kB / 0.5627 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.3674, allocations: 148.2 kB / 0.5628 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3676, allocations: 115.5 kB / 0.5629 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3678, allocations: 47.72 kB / 0.563 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3679, allocations: 42.42 kB / 0.563 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.368, allocations: 49.02 kB / 0.5631 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.368, allocations: 2.812 kB / 0.5631 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3681, allocations: 40.38 kB / 0.5631 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.3682, allocations: 23.44 kB / 0.5631 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.3682, allocations: 67.5 kB / 0.5632 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.3684, allocations: 97.92 kB / 0.5633 GB, free: 34.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3684, allocations: 1.219 kB / 0.5633 GB, free: 34.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3684, allocations: 1.328 kB / 0.5633 GB, free: 34.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3684, allocations: 1.5 kB / 0.5633 GB, free: 34.52 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.000494/0.3689, allocations: 413.4 kB / 0.5637 GB, free: 34.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.369, allocations: 13.55 kB / 0.5637 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/0.3699, allocations: 140.6 kB / 0.5638 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.655e-05/0.37, allocations: 186 kB / 0.564 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.615e-05/0.3701, allocations: 63.62 kB / 0.5641 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3701, allocations: 10.66 kB / 0.5641 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.3707, allocations: 192 kB / 0.5643 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3707, allocations: 1.188 kB / 0.5643 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.3708, allocations: 5.219 kB / 0.5643 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3708, allocations: 2.625 kB / 0.5643 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.3715, allocations: 201.5 kB / 0.5645 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3726, allocations: 0.4981 MB / 0.5649 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.3737, allocations: 267 kB / 0.5652 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.3741, allocations: 99.72 kB / 0.5653 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3741, allocations: 3.344 kB / 0.5653 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3741, allocations: 38.17 kB / 0.5653 GB, free: 33.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.755e-06/0.3741, allocations: 3.984 kB / 0.5653 GB, free: 33.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001145/0.3753, allocations: 318.5 kB / 0.5656 GB, free: 33.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3753, allocations: 52.38 kB / 0.5657 GB, free: 33.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3754, allocations: 142.1 kB / 0.5658 GB, free: 33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3755, allocations: 27.48 kB / 0.5659 GB, free: 32.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.3755, allocations: 110.2 kB / 0.566 GB, free: 32.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.3756, allocations: 19.22 kB / 0.566 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3756, allocations: 14 kB / 0.566 GB, free: 32.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.3757, allocations: 325.2 kB / 0.5663 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.376, allocations: 93.7 kB / 0.5664 GB, free: 32.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.3764, allocations: 115.7 kB / 0.5665 GB, free: 32.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.377, allocations: 200.4 kB / 0.5667 GB, free: 32.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.377, allocations: 0 / 0.5667 GB, free: 32.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007619/0.3778, allocations: 240.4 kB / 0.5669 GB, free: 32.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3778, allocations: 6.484 kB / 0.5669 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3779, allocations: 0 / 0.5669 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3779, allocations: 7.094 kB / 0.5669 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.3782, allocations: 45.61 kB / 0.567 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3782, allocations: 0 / 0.567 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3784, allocations: 39.27 kB / 0.567 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.3784, allocations: 5.078 kB / 0.567 GB, free: 32.32 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 8.685e-05/0.3785, allocations: 122.1 kB / 0.5671 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.3786, allocations: 9.562 kB / 0.5671 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007952/0.3794, allocations: 240 kB / 0.5674 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3794, allocations: 5.75 kB / 0.5674 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3794, allocations: 0.7969 kB / 0.5674 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3794, allocations: 0 / 0.5674 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3797, allocations: 254.4 kB / 0.5676 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3797, allocations: 1.094 kB / 0.5676 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3799, allocations: 40.17 kB / 0.5677 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3799, allocations: 3.75 kB / 0.5677 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3799, allocations: 6.344 kB / 0.5677 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3799, allocations: 0.75 kB / 0.5677 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.38, allocations: 3.938 kB / 0.5677 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.3807, allocations: 318.6 kB / 0.568 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.3807, allocations: 83.22 kB / 0.5681 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3808, allocations: 5.219 kB / 0.5681 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3811, allocations: 50 kB / 0.5681 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3812, allocations: 4.281 kB / 0.5681 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3812, allocations: 11.3 kB / 0.5681 GB, free: 31.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.3813, allocations: 107.9 kB / 0.5682 GB, free: 31.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3813, allocations: 0 / 0.5682 GB, free: 31.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.3816, allocations: 27.72 kB / 0.5683 GB, free: 31.5 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 0.0001064/0.3817, allocations: 99.83 kB / 0.5684 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007341/0.3824, allocations: 199.8 kB / 0.5685 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3824, allocations: 0 / 0.5685 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.3828, allocations: 105.2 kB / 0.5686 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.3831, allocations: 8.766 kB / 0.5687 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.3838, allocations: 345.3 kB / 0.569 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.384, allocations: 0.6998 MB / 0.5697 GB, free: 30.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.384, allocations: 14.92 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.384, allocations: 0 / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of Templates: time 0.00338/0.3874, allocations: 1.577 MB / 0.5712 GB, free: 30.28 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)