Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9098/0.9098, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009509/0.0009509, allocations: 180.1 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007136/0.0007136, allocations: 82.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001606/0.001606, allocations: 274.9 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004376, allocations: 16 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3535, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4845, allocations: 107.3 MB / 0.8443 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4848, allocations: 75.95 kB / 0.8444 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00343/0.4883, allocations: 1.147 MB / 0.8455 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4883, allocations: 8 kB / 0.8455 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4883, allocations: 0 / 0.8455 GB, free: 1.648 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.0003943/0.4887, allocations: 359.4 kB / 0.8458 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4888, allocations: 12.03 kB / 0.8458 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007902/0.4896, allocations: 192.5 kB / 0.846 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4897, allocations: 164.3 kB / 0.8462 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4898, allocations: 4.375 kB / 0.8462 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.4898, allocations: 8.375 kB / 0.8462 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.4903, allocations: 210 kB / 0.8464 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4903, allocations: 4.125 kB / 0.8464 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4903, allocations: 3.938 kB / 0.8464 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4904, allocations: 0 / 0.8464 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.4911, allocations: 327.6 kB / 0.8467 GB, free: 304 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.492, allocations: 457.2 kB / 0.8471 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.4931, allocations: 338.1 kB / 0.8475 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.4934, allocations: 120.8 kB / 0.8476 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4934, allocations: 0 / 0.8476 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4935, allocations: 38.5 kB / 0.8476 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4935, allocations: 4 kB / 0.8476 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.001079/0.4945, allocations: 365.2 kB / 0.848 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.4946, allocations: 55.34 kB / 0.848 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4947, allocations: 117.8 kB / 0.8481 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.4947, allocations: 29.7 kB / 0.8482 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.4948, allocations: 88.14 kB / 0.8483 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4948, allocations: 7.844 kB / 0.8483 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.4948, allocations: 8 kB / 0.8483 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.495, allocations: 318.8 kB / 0.8486 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.4953, allocations: 115.9 kB / 0.8487 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.4956, allocations: 111.9 kB / 0.8488 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.4962, allocations: 204.6 kB / 0.849 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4963, allocations: 4 kB / 0.849 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006753/0.4969, allocations: 257.5 kB / 0.8492 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.497, allocations: 8 kB / 0.8492 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.497, allocations: 48 / 0.8492 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.497, allocations: 7.984 kB / 0.8493 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.4972, allocations: 47.94 kB / 0.8493 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4973, allocations: 0 / 0.8493 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4974, allocations: 35.95 kB / 0.8493 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4975, allocations: 4 kB / 0.8493 GB, free: 13.48 MB / 0.5261 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 9.218e-05/0.4975, allocations: 121.8 kB / 0.8494 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.4976, allocations: 3.906 kB / 0.8495 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.4976, allocations: 7.906 kB / 0.8495 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4976, allocations: 0 / 0.8495 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4976, allocations: 0 / 0.8495 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4977, allocations: 8 kB / 0.8495 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.4979, allocations: 209.4 kB / 0.8497 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4979, allocations: 0 / 0.8497 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.4981, allocations: 43.94 kB / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4981, allocations: 0 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4981, allocations: 384 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4981, allocations: 4 kB / 0.8497 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4981, allocations: 4 kB / 0.8497 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.4989, allocations: 347.2 kB / 0.85 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.4989, allocations: 96.94 kB / 0.8501 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.499, allocations: 4 kB / 0.8501 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4992, allocations: 31.95 kB / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.4992, allocations: 4 kB / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.4992, allocations: 0 / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.4993, allocations: 95.27 kB / 0.8503 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4993, allocations: 0 / 0.8503 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002231/0.4995, allocations: 16 kB / 0.8503 GB, free: 12.41 MB / 0.5261 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.0001173/0.4997, allocations: 103.2 kB / 0.8504 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000703/0.5004, allocations: 235.7 kB / 0.8506 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5004, allocations: 4 kB / 0.8506 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.5007, allocations: 115.9 kB / 0.8507 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.501, allocations: 11.94 kB / 0.8507 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.5018, allocations: 288.5 kB / 0.851 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.5021, allocations: 0.6888 MB / 0.8517 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.161e-05/0.5022, allocations: 15.98 kB / 0.8517 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.5022, allocations: 19.42 kB / 0.8517 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.5022, allocations: 0 / 0.8517 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.002653/0.5049, allocations: 0.8172 MB / 0.8525 GB, free: 10.07 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)