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.0007261/0.0007261, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007906/0.0007906, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.855/0.855, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001357/0.001357, allocations: 235 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6762/0.6762, allocations: 138.4 MB / 455.1 MB, free: 29.93 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 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.944e-06/1.944e-06, allocations: 0 / 0.6475 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.613e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.2721/0.2721, allocations: 1.468 MB / 0.649 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003752/0.2725, allocations: 138.7 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.2725, allocations: 0.875 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.2726, allocations: 1.781 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.2727, allocations: 5.641 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.2729, allocations: 33.22 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.273, allocations: 45.22 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2731, allocations: 17.67 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.2732, allocations: 23.31 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.2732, allocations: 18.89 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2732, allocations: 3.781 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.2733, allocations: 30.08 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2733, allocations: 10.61 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.2734, allocations: 12.81 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2735, allocations: 73.16 kB / 0.6494 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2735, allocations: 1.422 kB / 0.6494 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2735, allocations: 0.6875 kB / 0.6494 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2735, allocations: 0.7812 kB / 0.6494 GB, free: 56.4 MB / 0.5573 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.0003359/0.2739, allocations: 284.6 kB / 0.6496 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2739, allocations: 12.09 kB / 0.6497 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.2746, allocations: 214.5 kB / 0.6499 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.114e-05/0.2746, allocations: 109.6 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2747, allocations: 2 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2747, allocations: 7.375 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.275, allocations: 199.6 kB / 0.6502 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.275, allocations: 0.7188 kB / 0.6502 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2751, allocations: 5.281 kB / 0.6502 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2751, allocations: 1.281 kB / 0.6502 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.2756, allocations: 281 kB / 0.6504 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.2761, allocations: 365.6 kB / 0.6508 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.2767, allocations: 287.4 kB / 0.6511 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.2769, allocations: 108 kB / 0.6512 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.277, allocations: 4.781 kB / 0.6512 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.277, allocations: 32.25 kB / 0.6512 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 2.504e-06/0.277, allocations: 0 / 0.6512 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0006903/0.2777, allocations: 318 kB / 0.6515 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.2777, allocations: 53.09 kB / 0.6516 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.2778, allocations: 113.2 kB / 0.6517 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2778, allocations: 28.11 kB / 0.6517 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.2778, allocations: 91.09 kB / 0.6518 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.2778, allocations: 9.75 kB / 0.6518 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.2779, allocations: 20.27 kB / 0.6518 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.2779, allocations: 316.1 kB / 0.6521 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.2781, allocations: 91.78 kB / 0.6522 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2783, allocations: 99.78 kB / 0.6523 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.2787, allocations: 167.8 kB / 0.6525 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2787, allocations: 1.75 kB / 0.6525 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004349/0.2791, allocations: 222.3 kB / 0.6527 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2791, allocations: 5.156 kB / 0.6527 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2791, allocations: 1.688 kB / 0.6527 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2791, allocations: 0 / 0.6527 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2793, allocations: 38.12 kB / 0.6527 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2793, allocations: 0 / 0.6527 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.2794, allocations: 32.75 kB / 0.6527 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2794, allocations: 3.172 kB / 0.6527 GB, free: 54.98 MB / 0.5573 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.31e-05/0.2795, allocations: 113.2 kB / 0.6529 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2795, allocations: 9.547 kB / 0.6529 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.2796, allocations: 11.31 kB / 0.6529 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2796, allocations: 2.656 kB / 0.6529 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2796, allocations: 4.875 kB / 0.6529 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2796, allocations: 0 / 0.6529 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2797, allocations: 140.9 kB / 0.653 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2797, allocations: 4.734 kB / 0.653 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.2799, allocations: 32.19 kB / 0.653 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2799, allocations: 5.656 kB / 0.6531 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2799, allocations: 4.797 kB / 0.6531 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2799, allocations: 1.656 kB / 0.6531 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2799, allocations: 0 / 0.6531 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.2803, allocations: 307 kB / 0.6534 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.2804, allocations: 10.23 kB / 0.6534 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.2804, allocations: 5.016 kB / 0.6534 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2805, allocations: 30.64 kB / 0.6534 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.2805, allocations: 4.312 kB / 0.6534 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2805, allocations: 2.875 kB / 0.6534 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.2806, allocations: 88.09 kB / 0.6535 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2806, allocations: 0 / 0.6535 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001717/0.2807, allocations: 17.94 kB / 0.6535 GB, free: 54.5 MB / 0.5573 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.000124/0.2809, allocations: 95.91 kB / 0.6536 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.2813, allocations: 198.8 kB / 0.6538 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2813, allocations: 1.719 kB / 0.6538 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.2815, allocations: 102.6 kB / 0.6539 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.2818, allocations: 5.469 kB / 0.6539 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.2825, allocations: 286.8 kB / 0.6542 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.621e-05/0.2825, allocations: 77.05 kB / 0.6542 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.2826, allocations: 12.06 kB / 0.6542 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of SimCode: time 1.253e-06/0.2826, allocations: 0 / 0.6542 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.002922/0.2855, allocations: 1.163 MB / 0.6554 GB, free: 54.16 MB / 0.5573 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.265746634453535] Failed to read output from testmodel.py, exit status != 0: 0.2918377434834838 0.29991389999999996 0.024708301000000002 Calling exit ...