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.001259/0.001259, allocations: 79.28 kB / 19.76 MB, free: 2.031 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.001336/0.001336, allocations: 158 kB / 23.01 MB, free: 4.945 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.342/1.342, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.00239/0.00239, allocations: 241.8 kB / 260 MB, free: 448 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 0.8899/0.8899, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 103.8 kB / 0.6473 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3805, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002165/0.3826, allocations: 1.481 MB / 0.7419 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000347/0.383, allocations: 145.3 kB / 0.742 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.383, allocations: 0 / 0.742 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.3831, allocations: 4.969 kB / 0.742 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/0.3831, allocations: 10.06 kB / 0.7421 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3833, allocations: 33.27 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.252e-05/0.3834, allocations: 38.5 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3835, allocations: 15.48 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.3835, allocations: 17.83 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.3836, allocations: 22.59 kB / 0.7422 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3836, allocations: 3.375 kB / 0.7422 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.3837, allocations: 36.8 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.3837, allocations: 6.859 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.3837, allocations: 19.88 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3838, allocations: 65.58 kB / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3838, allocations: 5.406 kB / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3838, allocations: 0 / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3839, allocations: 0 / 0.7423 GB, free: 16.23 MB / 0.5919 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.0003506/0.3842, allocations: 286 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.3842, allocations: 9.875 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.3853, allocations: 212.5 kB / 0.7428 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.3853, allocations: 115.4 kB / 0.7429 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3854, allocations: 2.344 kB / 0.7429 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3854, allocations: 2.656 kB / 0.7429 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.3859, allocations: 197.9 kB / 0.7431 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3859, allocations: 8.125 kB / 0.7431 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.386, allocations: 3.938 kB / 0.7431 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.386, allocations: 1.625 kB / 0.7431 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.3868, allocations: 280.7 kB / 0.7434 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.3876, allocations: 372.2 kB / 0.7437 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3886, allocations: 285 kB / 0.744 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.389, allocations: 108.9 kB / 0.7441 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.389, allocations: 2.078 kB / 0.7441 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.037e-05/0.389, allocations: 32.47 kB / 0.7441 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.389, allocations: 0 / 0.7441 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.001167/0.3902, allocations: 310.1 kB / 0.7444 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.3902, allocations: 52.11 kB / 0.7445 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.265e-05/0.3903, allocations: 107.7 kB / 0.7446 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3903, allocations: 25.7 kB / 0.7446 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.3903, allocations: 96.09 kB / 0.7447 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.3903, allocations: 10.56 kB / 0.7447 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3904, allocations: 20.62 kB / 0.7447 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.3904, allocations: 314.4 kB / 0.745 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.3908, allocations: 98.62 kB / 0.7451 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.3911, allocations: 96.78 kB / 0.7452 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.3918, allocations: 174.2 kB / 0.7454 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3918, allocations: 0 / 0.7454 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007257/0.3925, allocations: 214.8 kB / 0.7456 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3925, allocations: 5.5 kB / 0.7456 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3925, allocations: 2.031 kB / 0.7456 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3925, allocations: 0 / 0.7456 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3928, allocations: 32.5 kB / 0.7456 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3928, allocations: 1.375 kB / 0.7456 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.393, allocations: 39.53 kB / 0.7457 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.393, allocations: 1.359 kB / 0.7457 GB, free: 14.46 MB / 0.5919 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 5.37e-05/0.393, allocations: 120.9 kB / 0.7458 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3931, allocations: 6.125 kB / 0.7458 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.3931, allocations: 11.39 kB / 0.7458 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3931, allocations: 0 / 0.7458 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3931, allocations: 2.031 kB / 0.7458 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3931, allocations: 0 / 0.7458 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.3933, allocations: 152.6 kB / 0.746 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3933, allocations: 0 / 0.746 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3935, allocations: 32.12 kB / 0.746 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3935, allocations: 6.109 kB / 0.746 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3935, allocations: 4.797 kB / 0.746 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3935, allocations: 1.375 kB / 0.746 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3935, allocations: 3.938 kB / 0.746 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/0.3943, allocations: 316.5 kB / 0.7463 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.3943, allocations: 6.578 kB / 0.7463 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3943, allocations: 0.5156 kB / 0.7463 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.3945, allocations: 26.7 kB / 0.7463 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.3945, allocations: 4.703 kB / 0.7463 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3945, allocations: 2.469 kB / 0.7463 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.565e-05/0.3946, allocations: 91.8 kB / 0.7464 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.3946, allocations: 0 / 0.7464 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002311/0.3948, allocations: 11.5 kB / 0.7464 GB, free: 13.91 MB / 0.5919 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 7.581e-05/0.3949, allocations: 93.72 kB / 0.7465 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.3956, allocations: 198.4 kB / 0.7467 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3956, allocations: 1.156 kB / 0.7467 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.396, allocations: 102.9 kB / 0.7468 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.3962, allocations: 5.125 kB / 0.7468 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.397, allocations: 261.3 kB / 0.7471 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.3971, allocations: 73.86 kB / 0.7471 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.984e-05/0.3972, allocations: 19.56 kB / 0.7472 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.3972, allocations: 12.61 kB / 0.7472 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.3972, allocations: 0 / 0.7472 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.003188/0.4004, allocations: 0.9533 MB / 0.7481 GB, free: 13.44 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4259377520065755] Failed to read output from testmodel.py, exit status != 0: 0.4074913780204952 0.41761953700000004 0.031490432 Calling exit ...