Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001245/0.001245, allocations: 196.8 kB / 16.14 MB, free: 6.695 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 73.73 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3389, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00382/0.3428, allocations: 1.829 MB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3442, allocations: 0.6662 MB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.3443, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.813e-05/0.3444, allocations: 11.92 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.3445, allocations: 11.86 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.3451, allocations: 151.4 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.3453, allocations: 111.7 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3455, allocations: 49.08 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3457, allocations: 59.78 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3458, allocations: 47.7 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.3458, allocations: 8 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.346, allocations: 43.97 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.346, allocations: 31.89 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.3461, allocations: 51.72 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3464, allocations: 127.8 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.3464, allocations: 3.984 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3464, allocations: 8 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3464, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8262 GB 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.0007072/0.3471, allocations: 435 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3472, allocations: 8.031 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008901/0.3481, allocations: 112.7 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3482, allocations: 192 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3484, allocations: 63.91 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3484, allocations: 12.31 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.3489, allocations: 171.4 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.349, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.349, allocations: 4 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.349, allocations: 8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.3497, allocations: 155.8 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3508, allocations: 489.7 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3519, allocations: 218.2 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.3522, allocations: 84.91 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3522, allocations: 3.984 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3523, allocations: 30.56 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3523, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.001091/0.3534, allocations: 269.5 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3534, allocations: 51.41 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3536, allocations: 135.5 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3536, allocations: 33.64 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.3537, allocations: 116.1 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3537, allocations: 23.64 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.3538, allocations: 25.7 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.354, allocations: 322.8 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.3543, allocations: 67.92 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.3546, allocations: 98.48 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.3552, allocations: 166.4 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3552, allocations: 4 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006976/0.3559, allocations: 197.5 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.356, allocations: 4 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.356, allocations: 3.984 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.356, allocations: 7.938 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.3563, allocations: 35.95 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3563, allocations: 3.938 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.3565, allocations: 23.97 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3565, allocations: 0 / 1.074 GB, free: 3.945 MB / 0.8262 GB 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.0001381/0.3567, allocations: 121.8 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.3568, allocations: 11.91 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000768/0.3575, allocations: 210.4 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3575, allocations: 0 / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3576, allocations: 4.062 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3576, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.3579, allocations: 238.1 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3579, allocations: 0 / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3581, allocations: 31.95 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3581, allocations: 0 / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.3581, allocations: 11.88 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3581, allocations: 4 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3582, allocations: 0 / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.3589, allocations: 287.2 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.3589, allocations: 85.02 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.359, allocations: 7.938 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.3593, allocations: 27.95 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.3593, allocations: 3.984 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.3594, allocations: 11.98 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.3595, allocations: 109.3 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3595, allocations: 0 / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002871/0.3597, allocations: 27.91 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB 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.0001446/0.3599, allocations: 103.2 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.3606, allocations: 163.8 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3606, allocations: 8.125 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.3609, allocations: 75.92 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3613, allocations: 8 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.3621, allocations: 301 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.3626, allocations: 0.7004 MB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.3627, allocations: 12 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.3628, allocations: 15.42 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3628, allocations: 4 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of Templates: time 0.004595/0.3674, allocations: 1.375 MB / 1.078 GB, free: 15.86 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)