Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7334/0.7334, allocations: 127.4 MB / 134.9 MB, free: 3.461 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 171.4 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000977/0.0009771, allocations: 93.95 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.871e-05, allocations: 5.812 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.2403, allocations: 102 MB / 0.7212 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.2405, allocations: 83.94 kB / 0.7213 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003236/0.2438, allocations: 1.177 MB / 0.7224 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2438, allocations: 0 / 0.7224 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2438, allocations: 0 / 0.7224 GB, free: 3.68 MB / 0.4948 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.0003262/0.2441, allocations: 346.5 kB / 0.7227 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2442, allocations: 12.03 kB / 0.7227 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/0.245, allocations: 191.6 kB / 0.7229 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2451, allocations: 171 kB / 0.7231 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2451, allocations: 0 / 0.7231 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.2452, allocations: 0 / 0.7231 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002031/0.2454, allocations: 119.9 kB / 0.7232 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.2455, allocations: 105.5 kB / 0.7233 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2456, allocations: 0 / 0.7233 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2456, allocations: 4 kB / 0.7233 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2456, allocations: 0 / 0.7233 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008774/0.2465, allocations: 426 kB / 0.7237 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.2469, allocations: 162.4 kB / 0.7239 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.247, allocations: 52.98 kB / 0.7239 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.247, allocations: 3.953 kB / 0.7239 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.247, allocations: 34.56 kB / 0.724 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.247, allocations: 0 / 0.724 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002223/0.2472, allocations: 105.6 kB / 0.7241 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2473, allocations: 51.41 kB / 0.7241 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.2474, allocations: 97 kB / 0.7242 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2474, allocations: 25.7 kB / 0.7242 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.2474, allocations: 100 kB / 0.7243 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.2475, allocations: 7.844 kB / 0.7243 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.2475, allocations: 0 / 0.7243 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.2476, allocations: 322.8 kB / 0.7246 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.2476, allocations: 39.97 kB / 0.7247 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.2477, allocations: 39.97 kB / 0.7247 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.2478, allocations: 35.91 kB / 0.7247 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2478, allocations: 0 / 0.7247 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001702/0.2479, allocations: 109.5 kB / 0.7248 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.248, allocations: 8 kB / 0.7249 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.248, allocations: 3.953 kB / 0.7249 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.248, allocations: 0 / 0.7249 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.2483, allocations: 51.88 kB / 0.7249 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2483, allocations: 0 / 0.7249 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2485, allocations: 39.95 kB / 0.7249 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2485, allocations: 0 / 0.7249 GB, free: 0.8711 MB / 0.4948 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 () * 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 7.522e-05/0.2486, allocations: 101 kB / 0.725 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.2486, allocations: 4 kB / 0.725 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.2487, allocations: 8.328 kB / 0.7251 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2487, allocations: 7.953 kB / 0.7251 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2487, allocations: 0 / 0.7251 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2487, allocations: 4 kB / 0.7251 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.2489, allocations: 178.2 kB / 0.7252 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2489, allocations: 0 / 0.7252 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.2491, allocations: 47.88 kB / 0.7253 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2492, allocations: 0 / 0.7253 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2492, allocations: 4 kB / 0.7253 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2492, allocations: 0 / 0.7253 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2492, allocations: 7.953 kB / 0.7253 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.2494, allocations: 207.4 kB / 0.7255 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.2495, allocations: 77.11 kB / 0.7256 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2495, allocations: 4 kB / 0.7256 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.2497, allocations: 35.95 kB / 0.7256 GB, free: 124 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.2498, allocations: 7.953 kB / 0.7256 GB, free: 116 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.2498, allocations: 7.984 kB / 0.7256 GB, free: 108 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.2498, allocations: 79.28 kB / 0.7257 GB, free: 28 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.422e-06/0.2498, allocations: 0 / 0.7257 GB, free: 28 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002275/0.2501, allocations: 15.94 kB / 0.7257 GB, free: 12 kB / 0.4948 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 () * 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.000114/0.2502, allocations: 99.25 kB / 0.7258 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.2504, allocations: 100.1 kB / 0.7259 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2504, allocations: 0 / 0.7259 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.2505, allocations: 43.97 kB / 0.7259 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.2506, allocations: 0 / 0.7259 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.2512, allocations: 175.8 kB / 0.7261 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2515, allocations: 0.6965 MB / 0.7268 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.751e-05/0.2516, allocations: 19.98 kB / 0.7268 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.2516, allocations: 11.42 kB / 0.7268 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.2516, allocations: 0 / 0.7268 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.00229/0.2539, allocations: 0.7246 MB / 0.7275 GB, free: 14.09 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)