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.7774/0.7774, allocations: 128.8 MB / 143.7 MB, free: 2.297 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.001058/0.001058, allocations: 168.4 kB / 173.8 MB, free: 6.105 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.928/1.928, allocations: 205.4 MB / 409 MB, free: 10.48 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.001069/0.001069, allocations: 94.61 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 11.59 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1661, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.3113, allocations: 102.8 MB / 0.7357 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.3116, allocations: 75.95 kB / 0.7358 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003571/0.3152, allocations: 1.176 MB / 0.7369 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3152, allocations: 4 kB / 0.7369 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3152, allocations: 0 / 0.7369 GB, free: 6.336 MB / 0.5105 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.0004329/0.3157, allocations: 365.6 kB / 0.7373 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3157, allocations: 8.031 kB / 0.7373 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.3166, allocations: 191.6 kB / 0.7375 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3167, allocations: 175 kB / 0.7376 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3168, allocations: 4 kB / 0.7376 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3168, allocations: 4 kB / 0.7376 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.3173, allocations: 209.5 kB / 0.7378 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.3174, allocations: 0 / 0.7378 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.3174, allocations: 4 kB / 0.7378 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3174, allocations: 0 / 0.7378 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.3183, allocations: 319.6 kB / 0.7381 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.3192, allocations: 457.3 kB / 0.7386 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3203, allocations: 342.2 kB / 0.7389 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3204, allocations: 4.062 kB / 0.7389 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3204, allocations: 34.56 kB / 0.7389 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.3204, allocations: 0 / 0.7389 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.001158/0.3216, allocations: 369.3 kB / 0.7393 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3216, allocations: 51.41 kB / 0.7393 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.3217, allocations: 109.1 kB / 0.7395 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3217, allocations: 29.7 kB / 0.7395 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.3218, allocations: 92.22 kB / 0.7396 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.3218, allocations: 11.88 kB / 0.7396 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.3218, allocations: 3.938 kB / 0.7396 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.322, allocations: 318.8 kB / 0.7399 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3223, allocations: 111.9 kB / 0.74 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.3226, allocations: 115.9 kB / 0.7401 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.323, allocations: 103.9 kB / 0.7402 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.323, allocations: 0 / 0.7402 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007157/0.3237, allocations: 261.3 kB / 0.7405 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3237, allocations: 7.953 kB / 0.7405 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3237, allocations: 0 / 0.7405 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3238, allocations: 336 / 0.7405 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.324, allocations: 39.95 kB / 0.7405 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.324, allocations: 0 / 0.7405 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3242, allocations: 39.95 kB / 0.7405 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3242, allocations: 3.984 kB / 0.7405 GB, free: 2.418 MB / 0.5105 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.0001073/0.3244, allocations: 113.8 kB / 0.7406 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.3244, allocations: 4 kB / 0.7407 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.3245, allocations: 23.83 kB / 0.7407 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3245, allocations: 4 kB / 0.7407 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3245, allocations: 0 / 0.7407 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3245, allocations: 0 / 0.7407 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3247, allocations: 209.5 kB / 0.7409 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3247, allocations: 0 / 0.7409 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.325, allocations: 35.95 kB / 0.7409 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.325, allocations: 4 kB / 0.7409 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.325, allocations: 7.953 kB / 0.7409 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.325, allocations: 7.922 kB / 0.7409 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.325, allocations: 0 / 0.7409 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.3259, allocations: 343.3 kB / 0.7413 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.3259, allocations: 85.39 kB / 0.7413 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3259, allocations: 0 / 0.7413 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.3262, allocations: 43.91 kB / 0.7414 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3262, allocations: 11.98 kB / 0.7414 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3262, allocations: 3.938 kB / 0.7414 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.3263, allocations: 95.27 kB / 0.7415 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3263, allocations: 3.938 kB / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002166/0.3265, allocations: 15.94 kB / 0.7415 GB, free: 1.324 MB / 0.5105 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.0001287/0.3267, allocations: 99.03 kB / 0.7416 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007158/0.3274, allocations: 239.7 kB / 0.7418 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3274, allocations: 0 / 0.7418 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.3278, allocations: 119.9 kB / 0.7419 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.3279, allocations: 0 / 0.7419 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.3288, allocations: 294.8 kB / 0.7422 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3025/0.6313, allocations: 0.6898 MB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000151/0.6315, allocations: 17.36 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.6316, allocations: 11.92 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/0.6316, allocations: 0 / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.003009/0.6346, allocations: 0.8097 MB / 0.7437 GB, free: 109.7 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)