Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005846/0.005846, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12.16 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008046/0.3421, allocations: 330.8 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3436, allocations: 1.098 MB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.339e-05/0.3436, allocations: 0 / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.3437, allocations: 0 / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3439, allocations: 23.98 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.3439, allocations: 0 / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.913e-05/0.344, allocations: 7.922 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.344, allocations: 0 / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.344, allocations: 4 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.3441, allocations: 0 / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.3441, allocations: 3.938 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.3443, allocations: 19.97 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.3443, allocations: 0 / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.3443, allocations: 33.62 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3444, allocations: 19.98 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3445, allocations: 0 / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3445, allocations: 0 / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3445, allocations: 0 / 1.076 GB, free: 5.969 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003482/0.3448, allocations: 311.6 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.3449, allocations: 8.031 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.3449, allocations: 4.875 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3451, allocations: 168.4 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3451, allocations: 384 / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.3452, allocations: 4.375 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3453, allocations: 38.02 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3453, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3454, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3454, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.3454, allocations: 15.92 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.3456, allocations: 153.7 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.3459, allocations: 30.58 kB / 1.076 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3459, allocations: 20.94 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.3461, allocations: 77.11 kB / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3462, allocations: 42.5 kB / 1.076 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.3462, allocations: 0 / 1.076 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.004578/0.3508, allocations: 0.5717 MB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3508, allocations: 51.41 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.3509, allocations: 93.8 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3509, allocations: 25.7 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.3509, allocations: 84.14 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.351, allocations: 19.8 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.351, allocations: 9.719 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3512, allocations: 310.8 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.3518, allocations: 87.95 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.3524, allocations: 94.53 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3536, allocations: 198.4 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3537, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001319/0.355, allocations: 213.5 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.355, allocations: 8.062 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.355, allocations: 0 / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.355, allocations: 4 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.3555, allocations: 47.97 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3555, allocations: 0 / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.3559, allocations: 47.97 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3559, allocations: 4 kB / 1.078 GB, free: 3.012 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 (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 9.61e-05/0.356, allocations: 105.8 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.356, allocations: 11.78 kB / 1.078 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.3575, allocations: 241.5 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3575, allocations: 4 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3575, allocations: 0 / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.3575, allocations: 3.984 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.3591, allocations: 462.4 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3591, allocations: 0 / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.3595, allocations: 51.97 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3595, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3595, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3595, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3595, allocations: 0 / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.3609, allocations: 311.7 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.3609, allocations: 77.11 kB / 1.079 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3609, allocations: 4 kB / 1.079 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.3613, allocations: 43.92 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.3614, allocations: 3.984 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3614, allocations: 4 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.3614, allocations: 79.31 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3614, allocations: 3.938 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002593/0.3617, allocations: 8 kB / 1.08 GB, free: 1.52 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 (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.0001727/0.3619, allocations: 111.2 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.3632, allocations: 179.9 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3632, allocations: 0 / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.3639, allocations: 92.02 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.3641, allocations: 4 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3653, allocations: 220.8 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3655, allocations: 0.6848 MB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.3658, allocations: 27.98 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.3658, allocations: 11.44 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.3659, allocations: 4 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of Templates: time 0.003168/0.369, allocations: 0.7991 MB / 1.082 GB, free: 15.34 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)