Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.001299, allocations: 170.7 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4722/0.4722, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 223.2 MB / 348.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007756/0.0007757, allocations: 98.2 kB / 420.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 12 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 71.01 MB / 0.5594 GB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4694, allocations: 100.3 MB / 0.6574 GB, free: 9.195 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.4697, allocations: 79.94 kB / 0.6575 GB, free: 9.117 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003559/0.4733, allocations: 1.149 MB / 0.6586 GB, free: 7.973 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4733, allocations: 0 / 0.6586 GB, free: 7.973 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4733, allocations: 0 / 0.6586 GB, free: 7.973 MB / 474.7 MB 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.0003943/0.4737, allocations: 359.4 kB / 0.659 GB, free: 7.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4738, allocations: 12.02 kB / 0.659 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007752/0.4746, allocations: 192.5 kB / 0.6592 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.4747, allocations: 176.2 kB / 0.6593 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.4747, allocations: 384 / 0.6593 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.4748, allocations: 4.375 kB / 0.6593 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.4753, allocations: 218 kB / 0.6595 GB, free: 6.938 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4754, allocations: 4.188 kB / 0.6595 GB, free: 6.934 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4754, allocations: 7.938 kB / 0.6596 GB, free: 6.926 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4754, allocations: 0 / 0.6596 GB, free: 6.926 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.4763, allocations: 311.6 kB / 0.6599 GB, free: 6.621 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009771/0.4773, allocations: 457.3 kB / 0.6603 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4783, allocations: 334.3 kB / 0.6606 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.4787, allocations: 120.7 kB / 0.6607 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4787, allocations: 4 kB / 0.6607 GB, free: 5.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.4787, allocations: 38.48 kB / 0.6608 GB, free: 5.613 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.4787, allocations: 0 / 0.6608 GB, free: 5.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.001126/0.4799, allocations: 373.2 kB / 0.6611 GB, free: 5.242 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.4799, allocations: 51.41 kB / 0.6612 GB, free: 5.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4801, allocations: 117.8 kB / 0.6613 GB, free: 5.055 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.4801, allocations: 25.7 kB / 0.6613 GB, free: 5.023 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.4801, allocations: 88.14 kB / 0.6614 GB, free: 4.934 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.4802, allocations: 12.2 kB / 0.6614 GB, free: 4.922 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.4802, allocations: 4 kB / 0.6614 GB, free: 4.918 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4803, allocations: 322.8 kB / 0.6617 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.4807, allocations: 111.9 kB / 0.6618 GB, free: 4.484 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.481, allocations: 123.8 kB / 0.6619 GB, free: 4.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.4816, allocations: 208.6 kB / 0.6621 GB, free: 4.156 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4816, allocations: 0 / 0.6621 GB, free: 4.156 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006864/0.4823, allocations: 253.4 kB / 0.6624 GB, free: 3.902 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4824, allocations: 4 kB / 0.6624 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4824, allocations: 4 kB / 0.6624 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4824, allocations: 4 kB / 0.6624 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.4826, allocations: 39.95 kB / 0.6624 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4827, allocations: 7.922 kB / 0.6624 GB, free: 3.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.4829, allocations: 39.95 kB / 0.6625 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.4829, allocations: 4 kB / 0.6625 GB, free: 3.801 MB / 474.7 MB 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.0001044/0.483, allocations: 117.7 kB / 0.6626 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.483, allocations: 7.906 kB / 0.6626 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.4831, allocations: 15.89 kB / 0.6626 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4831, allocations: 0 / 0.6626 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4831, allocations: 0 / 0.6626 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4831, allocations: 0 / 0.6626 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4834, allocations: 221.4 kB / 0.6628 GB, free: 3.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4834, allocations: 4 kB / 0.6628 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.4836, allocations: 39.95 kB / 0.6629 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4836, allocations: 0 / 0.6629 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4836, allocations: 3.984 kB / 0.6629 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4836, allocations: 0 / 0.6629 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4836, allocations: 0 / 0.6629 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.4844, allocations: 351.2 kB / 0.6632 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.4844, allocations: 81.02 kB / 0.6633 GB, free: 2.871 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4845, allocations: 3.938 kB / 0.6633 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.4847, allocations: 43.95 kB / 0.6633 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4847, allocations: 3.984 kB / 0.6633 GB, free: 2.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4848, allocations: 4 kB / 0.6633 GB, free: 2.816 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.828e-05/0.4848, allocations: 91.27 kB / 0.6634 GB, free: 2.727 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4848, allocations: 0 / 0.6634 GB, free: 2.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.4851, allocations: 16 kB / 0.6634 GB, free: 2.711 MB / 474.7 MB 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.0001658/0.4852, allocations: 99.47 kB / 0.6635 GB, free: 2.605 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007565/0.486, allocations: 235.7 kB / 0.6638 GB, free: 2.375 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.486, allocations: 0 / 0.6638 GB, free: 2.375 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.4864, allocations: 128.2 kB / 0.6639 GB, free: 2.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.4866, allocations: 4 kB / 0.6639 GB, free: 2.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.4875, allocations: 292.4 kB / 0.6642 GB, free: 1.934 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4878, allocations: 0.6887 MB / 0.6648 GB, free: 1.219 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.527e-05/0.4879, allocations: 19.98 kB / 0.6649 GB, free: 1.199 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.488, allocations: 11.44 kB / 0.6649 GB, free: 1.191 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.488, allocations: 0 / 0.6649 GB, free: 1.191 MB / 474.7 MB Notification: Performance of Templates: time 0.002608/0.4906, allocations: 0.8152 MB / 0.6657 GB, free: 396 kB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)