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.001659/0.001659, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001535/0.001535, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.475/1.475, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002502/0.002502, allocations: 237.7 kB / 259.4 MB, free: 468 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.128/1.128, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.664e-06/1.664e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.498e-05, allocations: 5.797 kB / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.00368/0.003705, allocations: 1.496 MB / 0.6483 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.00423, allocations: 136.4 kB / 0.6484 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.004267, allocations: 0 / 0.6484 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.007e-05/0.004317, allocations: 3.938 kB / 0.6484 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.004403, allocations: 4 kB / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.004685, allocations: 35.78 kB / 0.6484 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.004823, allocations: 43.89 kB / 0.6485 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.004958, allocations: 16 kB / 0.6485 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.005034, allocations: 27.91 kB / 0.6485 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.005089, allocations: 11.98 kB / 0.6485 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.005113, allocations: 4 kB / 0.6485 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.005237, allocations: 31.97 kB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.005265, allocations: 11.92 kB / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.005304, allocations: 8 kB / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.005509, allocations: 75.78 kB / 0.6487 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005511, allocations: 0 / 0.6487 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005511, allocations: 0 / 0.6487 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.005516, allocations: 0 / 0.6487 GB, free: 3.086 MB / 0.5606 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.0006245/0.00614, allocations: 290.1 kB / 0.6489 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.006182, allocations: 9.344 kB / 0.6489 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.007936, allocations: 216.5 kB / 0.6491 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.008089, allocations: 105.8 kB / 0.6492 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.008099, allocations: 4.375 kB / 0.6493 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.008132, allocations: 8.375 kB / 0.6493 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009261/0.009058, allocations: 190 kB / 0.6494 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.009071, allocations: 192 / 0.6494 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.009097, allocations: 4.375 kB / 0.6494 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.009105, allocations: 4.375 kB / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.01057, allocations: 287.5 kB / 0.6497 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.01189, allocations: 360.9 kB / 0.6501 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.0138, allocations: 294.2 kB / 0.6504 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.0144, allocations: 96.8 kB / 0.6504 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.01442, allocations: 11.88 kB / 0.6505 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.01446, allocations: 38.5 kB / 0.6505 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.01446, allocations: 0 / 0.6505 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.002037/0.0165, allocations: 317.2 kB / 0.6508 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.01656, allocations: 55.41 kB / 0.6508 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.01668, allocations: 105.8 kB / 0.6509 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.01671, allocations: 25.7 kB / 0.651 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.01679, allocations: 88.14 kB / 0.6511 GB, free: 484 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01683, allocations: 7.906 kB / 0.6511 GB, free: 476 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.01691, allocations: 17.7 kB / 0.6511 GB, free: 452 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.0171, allocations: 318.8 kB / 0.6514 GB, free: 124 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.0177, allocations: 95.88 kB / 0.6515 GB, free: 28 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2856/0.3033, allocations: 93.64 kB / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.304, allocations: 169.8 kB / 0.6517 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.304, allocations: 0 / 0.6517 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007638/0.3048, allocations: 218 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3048, allocations: 3.469 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3048, allocations: 0.875 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3049, allocations: 4.25 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.3051, allocations: 36.2 kB / 0.652 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3051, allocations: 0.5469 kB / 0.652 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3053, allocations: 34.59 kB / 0.652 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3053, allocations: 4.25 kB / 0.652 GB, free: 56.61 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.3054, allocations: 115.2 kB / 0.6521 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.3055, allocations: 4.859 kB / 0.6521 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.3055, allocations: 9.719 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3055, allocations: 0 / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3055, allocations: 4.062 kB / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3055, allocations: 0 / 0.6521 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3057, allocations: 148.4 kB / 0.6523 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3057, allocations: 0 / 0.6523 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.3059, allocations: 35.23 kB / 0.6523 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3059, allocations: 0.6875 kB / 0.6523 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3059, allocations: 1.312 kB / 0.6523 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3059, allocations: 0 / 0.6523 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3059, allocations: 4.406 kB / 0.6523 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.3067, allocations: 311.1 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.3067, allocations: 13.88 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3067, allocations: 3.031 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3069, allocations: 33.16 kB / 0.6527 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.307, allocations: 0 / 0.6527 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.307, allocations: 3.656 kB / 0.6527 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.307, allocations: 88.05 kB / 0.6528 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 0.6528 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002413/0.3073, allocations: 15.31 kB / 0.6528 GB, free: 56.16 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001032/0.3074, allocations: 93.81 kB / 0.6529 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000761/0.3081, allocations: 200.4 kB / 0.6531 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3081, allocations: 0 / 0.6531 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.3085, allocations: 101 kB / 0.6531 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.3087, allocations: 10.45 kB / 0.6532 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/0.3096, allocations: 262.5 kB / 0.6534 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.3097, allocations: 75.56 kB / 0.6535 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.802e-05/0.3097, allocations: 17.56 kB / 0.6535 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.3098, allocations: 16.34 kB / 0.6535 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.3098, allocations: 3.5 kB / 0.6535 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.003217/0.313, allocations: 0.9433 MB / 0.6544 GB, free: 55.86 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.836050264537334] Failed to read output from testmodel.py, exit status != 0: 0.32225827872753143 0.330732206 0.32269595199999995 Calling exit ...