Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001337/0.001337, allocations: 108 kB / 15.6 MB, free: 132 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.001543/0.001543, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 69.95 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3178, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002044/0.3199, allocations: 0.5778 MB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3213, allocations: 1.114 MB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.3214, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.3214, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.3216, allocations: 23.92 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.3216, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.475e-05/0.3217, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.3217, allocations: 4 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.3218, allocations: 11.91 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.974e-05/0.3218, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.3218, allocations: 3.938 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3219, allocations: 15.98 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.3219, allocations: 7.938 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.322, allocations: 3.938 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.586e-05/0.322, allocations: 15.97 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.322, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.322, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3221, allocations: 0 / 1.07 GB, free: 8.629 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.0002845/0.3223, allocations: 327.6 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3224, allocations: 8.031 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.3224, allocations: 0.9375 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.3225, allocations: 160.4 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3225, allocations: 4.312 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.3226, allocations: 4.375 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.189e-05/0.3227, allocations: 42 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3227, allocations: 4 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3227, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3227, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.3227, allocations: 7.938 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.3229, allocations: 153.7 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3231, allocations: 30.61 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.3231, allocations: 8.859 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3232, allocations: 85.11 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3233, allocations: 42.58 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3233, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.004274/0.3275, allocations: 0.5678 MB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3276, allocations: 55.39 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.283e-05/0.3276, allocations: 93.8 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3277, allocations: 25.7 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.3277, allocations: 80.14 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.3277, allocations: 19.81 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.3278, allocations: 21.7 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.3279, allocations: 310.8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.3285, allocations: 84.02 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.3291, allocations: 102.5 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3304, allocations: 194.4 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3304, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001294/0.3317, allocations: 213.5 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3317, allocations: 8 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3317, allocations: 4.062 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3318, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.3322, allocations: 48.39 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3322, allocations: 11.92 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.3326, allocations: 35.98 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3326, allocations: 7.984 kB / 1.073 GB, free: 5.656 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.096e-05/0.3327, allocations: 114.4 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.3327, allocations: 7.844 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.3341, allocations: 233 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3342, allocations: 11.92 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3342, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3342, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.3358, allocations: 458.4 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3358, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.3362, allocations: 51.97 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3362, allocations: 0 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3362, allocations: 4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3362, allocations: 3.984 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3362, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3376, allocations: 307.7 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.3376, allocations: 81.09 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3376, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.338, allocations: 39.98 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.3381, allocations: 4 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3381, allocations: 3.984 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.552e-05/0.3381, allocations: 79.28 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 3.938 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000268/0.3384, allocations: 8 kB / 1.074 GB, free: 4.164 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.0001826/0.3386, allocations: 103.8 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.3399, allocations: 191.9 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3399, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006336/0.3406, allocations: 92.02 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3408, allocations: 0.5625 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.342, allocations: 220.8 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3422, allocations: 0.6807 MB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002384/0.3425, allocations: 24 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.3426, allocations: 11.44 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3426, allocations: 0 / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of Templates: time 0.00378/0.3464, allocations: 0.8153 MB / 1.076 GB, free: 1.977 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)