Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001463/0.001463, allocations: 101.4 kB / 16.35 MB, free: 6.348 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.001746/0.001746, allocations: 194.7 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 68.27 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2463, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003474/0.2499, allocations: 1.453 MB / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2511, allocations: 0.5977 MB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.2512, allocations: 0 / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.2512, allocations: 7.938 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.2513, allocations: 3.938 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.2517, allocations: 55.75 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.645e-05/0.2518, allocations: 27.92 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2519, allocations: 4 kB / 0.7869 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.252, allocations: 23.91 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2522, allocations: 11.94 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2522, allocations: 0 / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.2523, allocations: 55.95 kB / 0.787 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.2524, allocations: 0 / 0.787 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.2524, allocations: 23.84 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.2526, allocations: 63.86 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2526, allocations: 0 / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2526, allocations: 0 / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2526, allocations: 3.938 kB / 0.787 GB, free: 0.8555 MB / 0.6544 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.0005531/0.2531, allocations: 347.4 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2532, allocations: 12.03 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.2532, allocations: 12.84 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2534, allocations: 168.3 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2534, allocations: 384 / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2534, allocations: 384 / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.2536, allocations: 46 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2536, allocations: 0 / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2536, allocations: 4 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2536, allocations: 3.984 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.2537, allocations: 23.97 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3525/0.6062, allocations: 252.7 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.6064, allocations: 32.69 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.6064, allocations: 21.69 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/0.6072, allocations: 475.5 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.6072, allocations: 30.56 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.6072, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002351/0.6074, allocations: 66.55 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.6075, allocations: 56.41 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.6075, allocations: 111.4 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.6075, allocations: 26.58 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.6076, allocations: 86.27 kB / 0.7887 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.6076, allocations: 6.344 kB / 0.7887 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.6076, allocations: 15.8 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.854e-05/0.6077, allocations: 315.8 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.6077, allocations: 8.922 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.6078, allocations: 9.094 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.162e-05/0.6078, allocations: 30.27 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6079, allocations: 1.312 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001023/0.608, allocations: 58.14 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.608, allocations: 10.53 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.608, allocations: 0.625 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.608, allocations: 0 / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.6081, allocations: 8.938 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6081, allocations: 0.9375 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.6081, allocations: 1.5 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.6082, allocations: 2.938 kB / 0.7892 GB, free: 47.57 MB / 0.6544 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 4.365e-05/0.6082, allocations: 111.8 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.6082, allocations: 6.719 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.6084, allocations: 63.73 kB / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6084, allocations: 3.828 kB / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6084, allocations: 3.562 kB / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6084, allocations: 4.031 kB / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.6085, allocations: 165.9 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6086, allocations: 0 / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.6086, allocations: 6.531 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6086, allocations: 4.531 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.6086, allocations: 7.188 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6086, allocations: 0.5312 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6086, allocations: 2.281 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.6088, allocations: 147.3 kB / 0.7897 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.6088, allocations: 83.7 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.6088, allocations: 5.156 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.6089, allocations: 3.094 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.6089, allocations: 7.031 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.6089, allocations: 0 / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.609, allocations: 89.67 kB / 0.7899 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.609, allocations: 1.375 kB / 0.7899 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002426/0.6092, allocations: 10.66 kB / 0.7899 GB, free: 46.93 MB / 0.6544 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.0001591/0.6094, allocations: 118 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.6095, allocations: 22.92 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6095, allocations: 0.7812 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.6096, allocations: 14.8 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.6098, allocations: 8.25 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.6101, allocations: 125.1 kB / 0.7902 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.398e-05/0.6101, allocations: 0.6821 MB / 0.7908 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.6102, allocations: 3 kB / 0.7908 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.6102, allocations: 7.438 kB / 0.7908 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.6102, allocations: 0.75 kB / 0.7908 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.002679/0.6129, allocations: 0.6695 MB / 0.7915 GB, free: 46.03 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)