Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 70.08 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3261, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002798/0.3289, allocations: 1.505 MB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.3297, allocations: 474.8 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.3298, allocations: 4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.3298, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.3299, allocations: 3.938 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.3301, allocations: 15.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.3301, allocations: 23.92 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.3302, allocations: 7.984 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.3303, allocations: 15.92 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.3303, allocations: 7.938 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3303, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.3304, allocations: 31.91 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.3305, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.3305, allocations: 11.94 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.3306, allocations: 35.88 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3306, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.91e-07/0.3306, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3306, allocations: 0 / 1.07 GB, free: 8.793 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.00043/0.3311, allocations: 343.7 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3311, allocations: 8.031 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3311, allocations: 8.938 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3313, allocations: 164.3 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3313, allocations: 384 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3313, allocations: 8.375 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3315, allocations: 53.92 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3315, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3315, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3315, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3317, allocations: 43.94 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.332, allocations: 244.9 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3321, allocations: 42.48 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.3322, allocations: 24.84 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.3324, allocations: 85.11 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.3324, allocations: 38.55 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3324, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003437/0.3328, allocations: 73.66 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3328, allocations: 55.41 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.3329, allocations: 106 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3329, allocations: 25.7 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.333, allocations: 88.08 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.333, allocations: 3.906 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.333, allocations: 17.7 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3331, allocations: 314.8 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.3332, allocations: 15.98 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.3333, allocations: 15.98 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3335, allocations: 44.75 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3335, allocations: 256 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.3337, allocations: 65.67 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3337, allocations: 11.92 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3337, allocations: 4 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3337, allocations: 8.094 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.3338, allocations: 7.938 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3338, allocations: 0 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.3339, allocations: 11.92 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.3339, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 6.789e-05/0.334, allocations: 113.8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.334, allocations: 3.906 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3343, allocations: 80.77 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3343, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3343, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3343, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3344, allocations: 157.6 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3344, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.3345, allocations: 11.98 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3345, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3345, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3345, allocations: 7.969 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3345, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3348, allocations: 163.5 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.3348, allocations: 81.11 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.3349, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.3349, allocations: 12.02 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.335, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.335, allocations: 3.938 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.335, allocations: 87.27 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.335, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002271/0.3353, allocations: 8 kB / 1.072 GB, free: 5.836 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 (2): * Single equations (assignments): 2 * 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.000157/0.3354, allocations: 103.2 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3357, allocations: 47.89 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3357, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.3358, allocations: 19.98 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.336, allocations: 7.938 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.3364, allocations: 111.2 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3366, allocations: 0.6811 MB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.3367, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.3367, allocations: 11.44 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3367, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.002387/0.3391, allocations: 0.5032 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)