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.001436/0.001436, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.721/2.721, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 61.22 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.341, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00299/0.3441, allocations: 1.776 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3452, allocations: 0.6738 MB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.3453, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.3453, allocations: 11.88 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.3454, allocations: 15.8 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.346, allocations: 170.9 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.3462, allocations: 127.7 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3463, allocations: 37.11 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3465, allocations: 67.77 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.3466, allocations: 55.75 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.3466, allocations: 12 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.3468, allocations: 43.97 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.3468, allocations: 27.91 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.3469, allocations: 55.66 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.3472, allocations: 147.8 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3472, allocations: 4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3473, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3473, allocations: 0 / 1.071 GB, free: 7.223 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.0006135/0.3479, allocations: 436.7 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3479, allocations: 8.031 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008848/0.3488, allocations: 108.7 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.349, allocations: 188 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.723e-05/0.3491, allocations: 63.97 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.3491, allocations: 12.38 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.3496, allocations: 171.3 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3497, allocations: 0 / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3497, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3497, allocations: 4 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.3503, allocations: 159.8 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3515, allocations: 485.6 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.3526, allocations: 214.3 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.3529, allocations: 88.89 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3529, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.353, allocations: 42.5 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.353, allocations: 0 / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.001093/0.3541, allocations: 265.5 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3541, allocations: 51.41 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3542, allocations: 136.2 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3542, allocations: 29.7 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.3543, allocations: 116.1 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.3543, allocations: 23.66 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.3544, allocations: 25.7 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.3545, allocations: 326.8 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.3548, allocations: 67.92 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.3552, allocations: 102.4 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.3558, allocations: 158.4 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3558, allocations: 4 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007076/0.3565, allocations: 201.4 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3565, allocations: 4 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3566, allocations: 0 / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3566, allocations: 12 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.3569, allocations: 35.89 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3569, allocations: 4 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3571, allocations: 23.95 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3571, allocations: 0 / 1.075 GB, free: 3.48 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.0001089/0.3572, allocations: 122.5 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.3573, allocations: 7.906 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.3581, allocations: 210.1 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3581, allocations: 0 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3581, allocations: 7.984 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3581, allocations: 0 / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.3584, allocations: 238.1 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3584, allocations: 4.375 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.3587, allocations: 27.95 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.3587, allocations: 4 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.3587, allocations: 19.91 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3587, allocations: 0 / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3587, allocations: 0 / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.3594, allocations: 283.3 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.3595, allocations: 88.95 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3595, allocations: 3.938 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.3598, allocations: 31.95 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3599, allocations: 11.98 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3599, allocations: 3.984 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.36, allocations: 107.2 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.36, allocations: 0 / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002641/0.3603, allocations: 23.91 kB / 1.076 GB, free: 2.203 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.0001428/0.3604, allocations: 103.8 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006955/0.3611, allocations: 167.8 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3611, allocations: 4 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.3615, allocations: 80.03 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3619, allocations: 11.94 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.3626, allocations: 263.4 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3629, allocations: 0.698 MB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.898e-05/0.363, allocations: 15.98 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.363, allocations: 11.44 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.363, allocations: 0 / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of Templates: time 0.003824/0.3669, allocations: 1.469 MB / 1.079 GB, free: 15.35 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)