Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009994/0.0009994, allocations: 90.52 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.008331/0.008332, allocations: 170.1 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003702, allocations: 12.88 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001507/0.338, allocations: 1.166 MB / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.3388, allocations: 470.9 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.3388, allocations: 0 / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.3388, allocations: 0 / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.3389, allocations: 7.938 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3391, allocations: 15.97 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.3391, allocations: 27.92 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.633e-05/0.3392, allocations: 0 / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.3393, allocations: 19.92 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.3393, allocations: 4 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.3393, allocations: 3.938 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.3394, allocations: 23.92 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3394, allocations: 7.984 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.3395, allocations: 33.62 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.3396, allocations: 31.95 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3396, allocations: 0 / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.928e-06/0.3396, allocations: 0 / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3396, allocations: 3.938 kB / 1.076 GB, free: 5.727 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.0004064/0.34, allocations: 347.7 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3401, allocations: 8.031 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3401, allocations: 4.938 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3402, allocations: 160.4 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3402, allocations: 8.297 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3402, allocations: 4.375 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3404, allocations: 61.98 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3405, allocations: 0 / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3405, allocations: 3.938 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3405, allocations: 0 / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.3407, allocations: 51.95 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.341, allocations: 248.8 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3411, allocations: 46.55 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3412, allocations: 32.91 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.3413, allocations: 77.11 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3414, allocations: 38.5 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.3414, allocations: 0 / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/0.3418, allocations: 97.64 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3418, allocations: 51.41 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.3419, allocations: 105.8 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3419, allocations: 25.7 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.342, allocations: 84.12 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.342, allocations: 12.03 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.342, allocations: 9.719 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.3421, allocations: 318.8 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.3422, allocations: 19.98 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.3423, allocations: 23.98 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3425, allocations: 56.69 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3425, allocations: 0 / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.3427, allocations: 77.98 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3427, allocations: 4 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3427, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3428, allocations: 3.984 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.3429, allocations: 15.94 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3429, allocations: 0 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.3429, allocations: 19.95 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3429, allocations: 0 / 1.078 GB, free: 3.508 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 8.073e-05/0.343, allocations: 119.5 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3431, allocations: 0 / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.3433, allocations: 96.61 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3433, allocations: 0 / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3433, allocations: 3.984 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3434, allocations: 0 / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3435, allocations: 161.6 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3435, allocations: 0 / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.3436, allocations: 11.98 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3436, allocations: 7.969 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3436, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3436, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3436, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3439, allocations: 183.4 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.3439, allocations: 77.11 kB / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.344, allocations: 0 / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.978e-05/0.3441, allocations: 11.98 kB / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3441, allocations: 0 / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3441, allocations: 0 / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.3441, allocations: 87.27 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3442, allocations: 0 / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002397/0.3444, allocations: 12.03 kB / 1.079 GB, free: 2.652 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.0001421/0.3445, allocations: 99.25 kB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.3448, allocations: 47.95 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3448, allocations: 4.062 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.3449, allocations: 27.92 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.3452, allocations: 7.938 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.3454, allocations: 116.5 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3457, allocations: 0.681 MB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.3457, allocations: 7.984 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.3457, allocations: 7.438 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3457, allocations: 0 / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of Templates: time 0.002555/0.3483, allocations: 481.4 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)