Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001333/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001471/0.001471, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7448 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 66.11 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3831, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.0032/0.3863, allocations: 1.517 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3875, allocations: 0.5649 MB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.3875, allocations: 3.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.3876, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.3877, allocations: 3.938 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.388, allocations: 43.95 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3881, allocations: 31.86 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3883, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3884, allocations: 19.91 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.3885, allocations: 15.94 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3885, allocations: 4 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3887, allocations: 51.95 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.3887, allocations: 3.984 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.3887, allocations: 11.94 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.389, allocations: 63.84 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.389, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.389, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.389, allocations: 0 / 1.07 GB, free: 8.504 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.0005415/0.3895, allocations: 355.7 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3896, allocations: 11.97 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3896, allocations: 8.844 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3898, allocations: 164.4 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3898, allocations: 8.375 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.3898, allocations: 384 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.39, allocations: 53.92 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.39, allocations: 3.938 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.39, allocations: 0 / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.39, allocations: 0 / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.3901, allocations: 27.98 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.3905, allocations: 256.8 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.3906, allocations: 34.5 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.3907, allocations: 20.91 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008593/0.3915, allocations: 469.4 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3916, allocations: 34.56 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3916, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002502/0.3918, allocations: 65.77 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3919, allocations: 51.41 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.392, allocations: 109.8 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.392, allocations: 25.7 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.3921, allocations: 92.06 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3921, allocations: 3.906 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.3921, allocations: 17.72 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3922, allocations: 314.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.3923, allocations: 20.02 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.3923, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.3924, allocations: 28.78 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3924, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.3925, allocations: 57.67 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3926, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3926, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3926, allocations: 4.094 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.3927, allocations: 7.938 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3927, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.3927, allocations: 11.91 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3927, allocations: 3.984 kB / 1.072 GB, free: 5.965 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.415e-05/0.3928, allocations: 117.7 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.3928, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.393, allocations: 65.2 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.393, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.393, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.393, allocations: 3.984 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.3933, allocations: 161.6 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3933, allocations: 3.984 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.3933, allocations: 4 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3933, allocations: 0 / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3933, allocations: 0 / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3934, allocations: 7.938 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3934, allocations: 3.938 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.3935, allocations: 155.5 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.3936, allocations: 81.02 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3936, allocations: 8 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.3937, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.3937, allocations: 3.984 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3937, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.3937, allocations: 87.31 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3937, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002451/0.394, allocations: 19.98 kB / 1.073 GB, free: 5.148 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.0001625/0.3942, allocations: 111.2 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3943, allocations: 31.92 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3943, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.3944, allocations: 16.05 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.3946, allocations: 3.938 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.3949, allocations: 130.5 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3952, allocations: 0.6768 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.3952, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.3952, allocations: 11.44 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3952, allocations: 4 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.002791/0.398, allocations: 0.6549 MB / 1.074 GB, free: 3.453 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)