Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothMin.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.159/5.159, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002513/0.002512, allocations: 356.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.524/4.524, allocations: 410.7 MB / 1.113 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00188/0.001879, allocations: 180.6 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006576/0.0006579, allocations: 16 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.7363, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.9662, allocations: 138 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.9666, allocations: 78.3 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.004545/0.9711, allocations: 1.149 MB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9712, allocations: 0 / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.9712, allocations: 4 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004173/0.9716, allocations: 352.8 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.9717, allocations: 11.62 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.9731, allocations: 192.4 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.9732, allocations: 174.9 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9732, allocations: 6.375 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.9733, allocations: 4 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.9742, allocations: 207.7 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.9742, allocations: 0.6562 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.9743, allocations: 10.31 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9743, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.9758, allocations: 310.4 kB / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.9771, allocations: 454.5 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.9792, allocations: 340.8 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.9799, allocations: 119.8 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.9799, allocations: 5.531 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.9799, allocations: 34.55 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.9799, allocations: 4 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.002058/0.982, allocations: 367.7 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.9821, allocations: 55.41 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.9822, allocations: 118.5 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9822, allocations: 26.2 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.9823, allocations: 92.83 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.9823, allocations: 17.58 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.9823, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.9824, allocations: 314.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009815/0.9834, allocations: 116.2 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.9845, allocations: 114.6 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.9855, allocations: 106.7 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.9855, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.002204/0.9877, allocations: 257.8 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.9878, allocations: 4 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.9878, allocations: 4 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.9879, allocations: 3.953 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.9885, allocations: 44.52 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.9886, allocations: 0 / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.9891, allocations: 38.52 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.9892, allocations: 3.984 kB / 1.601 GB, free: 141 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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 0.000149/0.9894, allocations: 115.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.9894, allocations: 4 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/0.9895, allocations: 9.391 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9896, allocations: 8.328 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9896, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9896, allocations: 1.219 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.99, allocations: 205.6 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.9901, allocations: 3.938 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/0.9907, allocations: 38.27 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.9907, allocations: 7.938 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.9908, allocations: 4.562 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.9908, allocations: 7.938 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9908, allocations: 0.5 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.993, allocations: 353.3 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.9931, allocations: 85.02 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.9931, allocations: 3.938 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/0.9938, allocations: 37.7 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.9938, allocations: 7.938 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.9939, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.767e-05/0.994, allocations: 99.27 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.62e-07/0.994, allocations: 0.9062 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004922/0.9945, allocations: 12 kB / 1.602 GB, free: 140 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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.0001177/0.9947, allocations: 101.1 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.996, allocations: 235.8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9961, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006546/0.9967, allocations: 115.7 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.9971, allocations: 4.594 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.9985, allocations: 291.6 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.9987, allocations: 0.6887 MB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.9988, allocations: 23.02 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.9989, allocations: 12.61 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.9989, allocations: 3.938 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.003421/1.002, allocations: 0.8074 MB / 1.604 GB, free: 137.7 MB / 0.8542 GB