Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 182.7 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.5638/0.5638, 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.484/1.484, allocations: 222.9 MB / 349.1 MB, free: 2.773 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.0009997/0.0009993, allocations: 105.8 kB / 420 MB, free: 8.512 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.86 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3142, allocations: 70.06 MB / 0.5575 GB, free: 44.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001669/0.3159, allocations: 0.6325 MB / 0.5581 GB, free: 44.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3172, allocations: 1.1 MB / 0.5592 GB, free: 43.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.399e-05/0.3173, allocations: 0 / 0.5592 GB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.3173, allocations: 3.938 kB / 0.5592 GB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.3175, allocations: 10.41 kB / 0.5592 GB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.254e-06/0.3175, allocations: 3.938 kB / 0.5592 GB, free: 43.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.702e-05/0.3176, allocations: 7.031 kB / 0.5592 GB, free: 43.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.3176, allocations: 13.38 kB / 0.5592 GB, free: 43.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.154e-05/0.3176, allocations: 4 kB / 0.5592 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.995e-05/0.3177, allocations: 1.312 kB / 0.5592 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.3177, allocations: 1.031 kB / 0.5592 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3178, allocations: 19.42 kB / 0.5593 GB, free: 43.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.3178, allocations: 1.5 kB / 0.5593 GB, free: 43.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.3178, allocations: 3.938 kB / 0.5593 GB, free: 43.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.809e-05/0.3179, allocations: 18.06 kB / 0.5593 GB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3179, allocations: 4 kB / 0.5593 GB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3179, allocations: 4 kB / 0.5593 GB, free: 43.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.3179, allocations: 0 / 0.5593 GB, free: 43.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002062/0.3182, allocations: 312.4 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3182, allocations: 9.5 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3182, allocations: 6 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.302e-05/0.3183, allocations: 164.3 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3183, allocations: 1.594 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.3183, allocations: 5.469 kB / 0.5598 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.316e-05/0.3184, allocations: 37.94 kB / 0.5598 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3184, allocations: 5.469 kB / 0.5598 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3184, allocations: 3.984 kB / 0.5598 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3185, allocations: 0 / 0.5598 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.703e-05/0.3185, allocations: 3.812 kB / 0.5598 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.3186, allocations: 152.5 kB / 0.56 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3188, allocations: 42.86 kB / 0.56 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.3188, allocations: 7.516 kB / 0.56 GB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3189, allocations: 89 kB / 0.5601 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.319, allocations: 39.62 kB / 0.5601 GB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.319, allocations: 0 / 0.5601 GB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.004139/0.3231, allocations: 0.5632 MB / 0.5607 GB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.3232, allocations: 55.41 kB / 0.5607 GB, free: 41.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.632e-05/0.3232, allocations: 89.86 kB / 0.5608 GB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3232, allocations: 25.7 kB / 0.5608 GB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/0.3232, allocations: 80.14 kB / 0.5609 GB, free: 41.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.3233, allocations: 23.66 kB / 0.5609 GB, free: 41.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3234, allocations: 21.7 kB / 0.561 GB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.3234, allocations: 314.8 kB / 0.5613 GB, free: 41.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.324, allocations: 83.95 kB / 0.5613 GB, free: 41.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.3246, allocations: 102.5 kB / 0.5614 GB, free: 40.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.3257, allocations: 194.4 kB / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3257, allocations: 0 / 0.5616 GB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001183/0.3269, allocations: 217.5 kB / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3269, allocations: 5.875 kB / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3269, allocations: 4.062 kB / 0.5618 GB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.327, allocations: 4 kB / 0.5618 GB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.3273, allocations: 52.09 kB / 0.5619 GB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3274, allocations: 0 / 0.5619 GB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.3277, allocations: 47.97 kB / 0.5619 GB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3277, allocations: 4 kB / 0.5619 GB, free: 40.42 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 (5): * Single equations (assignments): 5 * 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.911e-05/0.3278, allocations: 109.8 kB / 0.5621 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.3278, allocations: 3.938 kB / 0.5621 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.3291, allocations: 233.1 kB / 0.5623 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3291, allocations: 0 / 0.5623 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3291, allocations: 4 kB / 0.5623 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3292, allocations: 3.938 kB / 0.5623 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.3306, allocations: 454.4 kB / 0.5627 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3306, allocations: 0 / 0.5627 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.3309, allocations: 51.97 kB / 0.5628 GB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.331, allocations: 0 / 0.5628 GB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.331, allocations: 3.984 kB / 0.5628 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.331, allocations: 3.938 kB / 0.5628 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.331, allocations: 3.938 kB / 0.5628 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.3329, allocations: 0.9309 MB / 0.5637 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.3329, allocations: 81.02 kB / 0.5638 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.333, allocations: 7.984 kB / 0.5638 GB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.3333, allocations: 39.92 kB / 0.5638 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.3333, allocations: 4.609 kB / 0.5638 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3334, allocations: 4 kB / 0.5638 GB, free: 38.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.761e-05/0.3334, allocations: 75.28 kB / 0.5639 GB, free: 38.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3334, allocations: 0 / 0.5639 GB, free: 38.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.3337, allocations: 23.98 kB / 0.5639 GB, free: 38.26 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 (5): * Single equations (assignments): 5 * 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.0001926/0.3339, allocations: 99.25 kB / 0.564 GB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3352, allocations: 179.9 kB / 0.5642 GB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3352, allocations: 0 / 0.5642 GB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.3357, allocations: 92.06 kB / 0.5643 GB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.336, allocations: 10.41 kB / 0.5643 GB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3371, allocations: 325.6 kB / 0.5646 GB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3373, allocations: 0.6731 MB / 0.5652 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.3375, allocations: 35.89 kB / 0.5653 GB, free: 36.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.3376, allocations: 15.38 kB / 0.5653 GB, free: 36.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3376, allocations: 3.938 kB / 0.5653 GB, free: 36.76 MB / 410.7 MB Notification: Performance of Templates: time 0.002867/0.3405, allocations: 0.809 MB / 0.5661 GB, free: 35.96 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)