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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006908/0.0006908, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000908/0.001599, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006943/0.0006943, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009019/0.001596, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9293/0.9293, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1179/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 241.7 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.003402, allocations: 463.5 kB / 244.7 MB, free: 14.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7094/0.7094, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07252/0.782, allocations: 42.4 MB / 426.5 MB, free: 5.938 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 427.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.159e-05, allocations: 2.312 kB / 427.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002688/0.00271, allocations: 1.569 MB / 429.4 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.003014, allocations: 136.4 kB / 429.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.003047, allocations: 7.938 kB / 429.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.003083, allocations: 0 / 429.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.003134, allocations: 3.938 kB / 429.5 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.003275, allocations: 35.78 kB / 429.6 MB, free: 2.836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005128/0.008402, allocations: 43.91 kB / 429.6 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.008513, allocations: 15.98 kB / 429.6 MB, free: 2.777 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.008598, allocations: 23.92 kB / 429.6 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.008651, allocations: 27.95 kB / 429.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.008673, allocations: 4 kB / 429.7 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.008789, allocations: 27.98 kB / 429.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.008804, allocations: 7.938 kB / 429.7 MB, free: 2.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.008826, allocations: 8 kB / 429.7 MB, free: 2.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.008969, allocations: 51.83 kB / 429.8 MB, free: 2.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/0.008985, allocations: 0 / 429.8 MB, free: 2.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.008985, allocations: 0 / 429.8 MB, free: 2.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.009004, allocations: 4 kB / 429.8 MB, free: 2.625 MB / 410.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.0004611/0.009465, allocations: 264.4 kB / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.009502, allocations: 19.92 kB / 430 MB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.01005, allocations: 153.9 kB / 430.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/0.01015, allocations: 109.8 kB / 430.3 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.01017, allocations: 4.375 kB / 430.3 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.01018, allocations: 8.375 kB / 430.3 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.01043, allocations: 106.9 kB / 430.4 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.01044, allocations: 192 / 430.4 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.01045, allocations: 384 / 430.4 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.01045, allocations: 384 / 430.4 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.01053, allocations: 31.88 kB / 430.4 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.01097, allocations: 208.2 kB / 430.7 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.01424, allocations: 74.52 kB / 430.7 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.01428, allocations: 16.8 kB / 430.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.0143, allocations: 0 / 430.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.01433, allocations: 30.56 kB / 430.8 MB, free: 1.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.01433, allocations: 4 kB / 430.8 MB, free: 1.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001843/0.01452, allocations: 53.62 kB / 430.8 MB, free: 1.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.01455, allocations: 51.41 kB / 430.9 MB, free: 1.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.01462, allocations: 118.8 kB / 431 MB, free: 1.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.01463, allocations: 25.7 kB / 431 MB, free: 1.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.01467, allocations: 104 kB / 431.1 MB, free: 1.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.01469, allocations: 3.953 kB / 431.1 MB, free: 1.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.01474, allocations: 13.72 kB / 431.1 MB, free: 1.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.01483, allocations: 318.8 kB / 431.4 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.01487, allocations: 11.94 kB / 431.5 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.0149, allocations: 4.188 kB / 431.5 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.01496, allocations: 24.92 kB / 431.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01496, allocations: 0 / 431.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/0.01507, allocations: 49.69 kB / 431.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01509, allocations: 11.94 kB / 431.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01509, allocations: 0 / 431.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.0151, allocations: 0 / 431.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.01524, allocations: 23.97 kB / 431.6 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01525, allocations: 3.938 kB / 431.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.01532, allocations: 15.97 kB / 431.6 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01533, allocations: 3.938 kB / 431.6 MB, free: 0.6133 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.01539, allocations: 113.8 kB / 431.7 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.01542, allocations: 0 / 431.7 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.01546, allocations: 15.94 kB / 431.7 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01546, allocations: 3.984 kB / 431.7 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01546, allocations: 0 / 431.7 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01546, allocations: 0 / 431.7 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.01561, allocations: 85.83 kB / 431.8 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01561, allocations: 0 / 431.8 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.01572, allocations: 23.97 kB / 431.8 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.01573, allocations: 7.938 kB / 431.8 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01573, allocations: 0 / 431.8 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01574, allocations: 3.938 kB / 431.8 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01575, allocations: 8 kB / 431.9 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01575, allocations: 3.984 kB / 431.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.0159, allocations: 139.5 kB / 432 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.01591, allocations: 4 kB / 432 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01602, allocations: 11.98 kB / 432 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.01605, allocations: 11.92 kB / 432 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.01606, allocations: 0 / 432 MB, free: 152 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.617e-05/0.01607, allocations: 12.86 kB / 432 MB, free: 136 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01607, allocations: 0 / 432 MB, free: 136 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.01628, allocations: 12 kB / 432 MB, free: 124 kB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.119e-05/0.01637, allocations: 80.41 kB / 432.1 MB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.01648, allocations: 24.86 kB / 432.1 MB, free: 4 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.01649, allocations: 3.984 kB / 432.2 MB, free: 0 / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1789/0.1953, allocations: 14.08 kB / 432.2 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.1956, allocations: 7.422 kB / 432.2 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.1962, allocations: 163.5 kB / 432.3 MB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.1962, allocations: 61.88 kB / 432.4 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.1962, allocations: 6.531 kB / 432.4 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.1963, allocations: 53.94 kB / 432.5 MB, free: 2.676 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1963, allocations: 1.156 kB / 432.5 MB, free: 2.676 MB / 410.7 MB Notification: Performance of Templates: time 0.002808/0.1991, allocations: 0.9751 MB / 433.4 MB, free: 2.648 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.401348269544542]