Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, 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.001831/0.001831, allocations: 193.2 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61.98 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002995/0.3654, allocations: 1.524 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3664, allocations: 0.5688 MB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.3664, allocations: 11.94 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.3665, allocations: 3.938 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.3666, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.3668, allocations: 39.89 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.3669, allocations: 27.92 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.367, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.3671, allocations: 23.86 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.3672, allocations: 11.94 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3672, allocations: 4 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3673, allocations: 55.94 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.3674, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.3674, allocations: 19.92 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.3675, allocations: 55.86 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3675, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3676, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3676, allocations: 0 / 1.07 GB, free: 8.523 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.0004743/0.368, allocations: 347.7 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3681, allocations: 15.97 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3681, allocations: 4.844 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3682, allocations: 164.4 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3683, allocations: 384 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3683, allocations: 4.375 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3684, allocations: 46 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3685, allocations: 0 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3685, allocations: 0 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3685, allocations: 3.938 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.045e-05/0.3686, allocations: 23.97 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.3689, allocations: 260.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.05e-05/0.369, allocations: 30.56 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.3691, allocations: 16.92 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000805/0.3699, allocations: 485.4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3699, allocations: 34.5 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3699, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.00025/0.3702, allocations: 61.67 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3703, allocations: 55.53 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.3703, allocations: 109.8 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3704, allocations: 25.7 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.3704, allocations: 84.14 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3704, allocations: 11.84 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.3705, allocations: 21.7 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3706, allocations: 310.8 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.3706, allocations: 11.98 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.3707, allocations: 12 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.3708, allocations: 36.72 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3708, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.3709, allocations: 49.69 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3709, allocations: 8 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3709, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3709, allocations: 3.984 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.371, allocations: 8.094 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.371, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.3711, allocations: 7.906 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3711, allocations: 0 / 1.072 GB, free: 6 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 7.8e-05/0.3712, allocations: 117.7 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3712, allocations: 4 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.3714, allocations: 65.14 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3714, allocations: 4.031 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3714, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3714, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3716, allocations: 161.6 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3716, allocations: 0 / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.3716, allocations: 11.98 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3716, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3717, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3717, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3717, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.3718, allocations: 159.4 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.3719, allocations: 81.02 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3719, allocations: 0 / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.372, allocations: 4 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.372, allocations: 11.98 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.372, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.3721, allocations: 91.56 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3721, allocations: 4.031 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002295/0.3723, allocations: 20 kB / 1.073 GB, free: 5.176 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.0001697/0.3725, allocations: 111.2 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.3726, allocations: 23.98 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3726, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.3727, allocations: 15.92 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.3729, allocations: 12 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.3732, allocations: 136.2 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3734, allocations: 0.6809 MB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.3735, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.3735, allocations: 11.44 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3735, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of Templates: time 0.002919/0.3764, allocations: 0.6279 MB / 1.074 GB, free: 3.504 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)