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.001376/0.001376, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001611/0.001611, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 1.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.002529/0.002529, allocations: 234.2 kB / 259.8 MB, free: 12.84 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 1.156/1.156, allocations: 138.4 MB / 454.7 MB, free: 1.496 MB / 362.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.493e-06/1.493e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.929e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.003053/0.003082, allocations: 1.487 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004502/0.003532, allocations: 140.4 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.003568, allocations: 3.938 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.414e-05/0.003622, allocations: 3.984 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.003692, allocations: 7.938 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.003941, allocations: 35.84 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004056, allocations: 43.84 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.004182, allocations: 11.98 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.004246, allocations: 19.98 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.004293, allocations: 23.92 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.004317, allocations: 7.984 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/0.004413, allocations: 27.97 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.004434, allocations: 8 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.00447, allocations: 15.92 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.004636, allocations: 67.78 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004638, allocations: 4 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004639, allocations: 0 / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.004643, allocations: 0 / 0.5562 GB, free: 14.94 MB / 490.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.0006306/0.005274, allocations: 290.1 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.005308, allocations: 12.75 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.0065, allocations: 212.5 kB / 0.5567 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.006638, allocations: 113.7 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.006654, allocations: 8.375 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.00667, allocations: 384 / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.007282, allocations: 198 kB / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.00729, allocations: 192 / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.00731, allocations: 4.375 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.007314, allocations: 384 / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009703/0.008285, allocations: 283.5 kB / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009779/0.009263, allocations: 365.2 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.01044, allocations: 286.2 kB / 0.5579 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.01081, allocations: 96.8 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.01084, allocations: 7.938 kB / 0.558 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.01087, allocations: 38.56 kB / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.01087, allocations: 0 / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.001267/0.01214, allocations: 313.2 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.01219, allocations: 55.41 kB / 0.5584 GB, free: 12.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.0123, allocations: 105.8 kB / 0.5585 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.01232, allocations: 25.7 kB / 0.5585 GB, free: 12.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.0124, allocations: 92.12 kB / 0.5586 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.01243, allocations: 7.906 kB / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.01248, allocations: 17.72 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.01266, allocations: 322.8 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.01307, allocations: 95.88 kB / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.01344, allocations: 95.88 kB / 0.5591 GB, free: 11.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.01417, allocations: 172.6 kB / 0.5593 GB, free: 11.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01417, allocations: 0 / 0.5593 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007762/0.01495, allocations: 213.4 kB / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01497, allocations: 8 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01497, allocations: 0 / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.01499, allocations: 7.984 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.01524, allocations: 31.95 kB / 0.5595 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01525, allocations: 4 kB / 0.5595 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.01544, allocations: 23.95 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.01546, allocations: 7.984 kB / 0.5596 GB, free: 11.32 MB / 490.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 0.0001107/0.01557, allocations: 113.8 kB / 0.5597 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.01561, allocations: 7.891 kB / 0.5597 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.01565, allocations: 12 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01565, allocations: 0 / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.01566, allocations: 0 / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.01566, allocations: 11.92 kB / 0.5597 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.01589, allocations: 145.3 kB / 0.5598 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.0159, allocations: 0 / 0.5598 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.01614, allocations: 31.95 kB / 0.5599 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.01614, allocations: 3.938 kB / 0.5599 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01615, allocations: 0 / 0.5599 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01616, allocations: 4 kB / 0.5599 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.01616, allocations: 3.984 kB / 0.5599 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.01726, allocations: 307.6 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.01727, allocations: 7.891 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01729, allocations: 3.938 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.01753, allocations: 35.95 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.01757, allocations: 8.016 kB / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.01758, allocations: 0 / 0.5602 GB, free: 10.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.01765, allocations: 87.28 kB / 0.5603 GB, free: 10.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01765, allocations: 3.938 kB / 0.5603 GB, free: 10.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.0179, allocations: 15.94 kB / 0.5603 GB, free: 10.47 MB / 490.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 0.0001403/0.01804, allocations: 95.23 kB / 0.5604 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008133/0.01885, allocations: 195.8 kB / 0.5606 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01885, allocations: 0 / 0.5606 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.01924, allocations: 103.9 kB / 0.5607 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.0195, allocations: 8 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.02052, allocations: 271.2 kB / 0.561 GB, free: 9.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.708e-05/0.02061, allocations: 75.33 kB / 0.561 GB, free: 9.691 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.501e-05/0.0207, allocations: 19.98 kB / 0.5611 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.02077, allocations: 8.5 kB / 0.5611 GB, free: 9.664 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02077, allocations: 0 / 0.5611 GB, free: 9.664 MB / 490.7 MB Notification: Performance of Templates: time 0.003811/0.02458, allocations: 0.9626 MB / 0.562 GB, free: 8.703 MB / 490.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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.54908866295591]