Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.213/2.213, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.002194, allocations: 182.8 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.443/2.443, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009702/0.0009698, allocations: 88.84 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006538/0.000654, allocations: 14.5 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2281, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002314/0.2304, allocations: 1.176 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.2442, allocations: 0.5632 MB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.2443, allocations: 4 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.2443, allocations: 3.938 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.2444, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.2447, allocations: 39.89 kB / 0.9008 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.882e-05/0.2448, allocations: 23.92 kB / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.245, allocations: 11.92 kB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2451, allocations: 11.94 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.2452, allocations: 11.92 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.2452, allocations: 8 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2454, allocations: 47.95 kB / 0.9009 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.2454, allocations: 7.922 kB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.2454, allocations: 33.64 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2456, allocations: 43.94 kB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2456, allocations: 0 / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2457, allocations: 0 / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2457, allocations: 0 / 0.901 GB, free: 63.38 MB / 0.6042 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.0004574/0.2461, allocations: 345.1 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2462, allocations: 12.03 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2462, allocations: 4.844 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2464, allocations: 176.3 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2464, allocations: 4.375 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.2464, allocations: 384 / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2466, allocations: 46 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2467, allocations: 0 / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2467, allocations: 4 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2467, allocations: 4 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2469, allocations: 27.92 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.2473, allocations: 248.9 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.2475, allocations: 34.56 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.2476, allocations: 20.92 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.2491, allocations: 0.4897 MB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2491, allocations: 34.5 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.2492, allocations: 0 / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004097/0.2496, allocations: 77.58 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.2496, allocations: 55.34 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.2497, allocations: 105.8 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2498, allocations: 25.7 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.2498, allocations: 88.14 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.2498, allocations: 3.906 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.2499, allocations: 0 / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.2499, allocations: 323 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.25, allocations: 8 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.242e-05/0.2501, allocations: 15.98 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.2502, allocations: 15.88 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2503, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002364/0.2505, allocations: 57.75 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2505, allocations: 11.98 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2506, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2506, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.2507, allocations: 4 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2507, allocations: 0 / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.2508, allocations: 11.94 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2508, allocations: 7.938 kB / 0.9031 GB, free: 60.85 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.2509, allocations: 121.8 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.251, allocations: 3.906 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.2513, allocations: 69.14 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2513, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2513, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2513, allocations: 4 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.2516, allocations: 165.6 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2516, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.2517, allocations: 7.984 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2517, allocations: 4 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.2517, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.2517, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2518, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.252, allocations: 163.4 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.2521, allocations: 85.02 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2521, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2523, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.2523, allocations: 7.938 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.2523, allocations: 3.984 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.2524, allocations: 87.28 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2524, allocations: 0 / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005422/0.253, allocations: 20.03 kB / 0.9039 GB, free: 60.02 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/0.2532, allocations: 111.2 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2534, allocations: 23.98 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2534, allocations: 4 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2536, allocations: 23.98 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.254, allocations: 3.938 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.2544, allocations: 132.6 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2546, allocations: 0.677 MB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.345e-05/0.2546, allocations: 4 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.2547, allocations: 7.5 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.2547, allocations: 4 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.009229/0.2639, allocations: 0.6214 MB / 0.9054 GB, free: 58.36 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)