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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 187.9 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.002558/0.002558, allocations: 301 kB / 306.6 MB, free: 8.336 MB / 238.1 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 1.167/1.167, allocations: 180.9 MB / 0.53 GB, free: 14.44 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002617/0.002617, allocations: 105.9 kB / 0.7308 GB, free: 38.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1503, allocations: 94.2 MB / 0.8228 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002731/0.153, allocations: 1.471 MB / 0.8243 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003812/0.1534, allocations: 140.4 kB / 0.8244 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.1534, allocations: 0 / 0.8244 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.962e-05/0.1535, allocations: 11.98 kB / 0.8244 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.1535, allocations: 3.938 kB / 0.8244 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1537, allocations: 31.89 kB / 0.8245 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.1538, allocations: 35.92 kB / 0.8245 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1539, allocations: 23.92 kB / 0.8245 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.154, allocations: 11.94 kB / 0.8245 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.154, allocations: 35.83 kB / 0.8246 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.154, allocations: 4 kB / 0.8246 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/0.1541, allocations: 23.98 kB / 0.8246 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.1542, allocations: 15.98 kB / 0.8246 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.1542, allocations: 19.88 kB / 0.8246 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1543, allocations: 63.73 kB / 0.8247 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1544, allocations: 3.984 kB / 0.8247 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1544, allocations: 0 / 0.8247 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.1544, allocations: 0 / 0.8247 GB, free: 15.94 MB / 0.5762 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.0004462/0.1548, allocations: 294 kB / 0.825 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1548, allocations: 12.03 kB / 0.825 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.156, allocations: 212.5 kB / 0.8252 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1561, allocations: 110.5 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1561, allocations: 384 / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1561, allocations: 8.359 kB / 0.8253 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.1567, allocations: 194 kB / 0.8255 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1567, allocations: 4.125 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1567, allocations: 3.938 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1567, allocations: 4 kB / 0.8255 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/0.1576, allocations: 283.6 kB / 0.8258 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.1586, allocations: 416.1 kB / 0.8262 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.1599, allocations: 286.1 kB / 0.8264 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.1603, allocations: 100.8 kB / 0.8265 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1603, allocations: 0 / 0.8265 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1603, allocations: 38.56 kB / 0.8266 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1603, allocations: 0 / 0.8266 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001276/0.1616, allocations: 309.3 kB / 0.8269 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1617, allocations: 51.41 kB / 0.8269 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1618, allocations: 121.8 kB / 0.827 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1619, allocations: 29.69 kB / 0.8271 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.1619, allocations: 88.52 kB / 0.8271 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.162, allocations: 7.906 kB / 0.8271 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.162, allocations: 25.7 kB / 0.8272 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1622, allocations: 318.8 kB / 0.8275 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.1625, allocations: 95.81 kB / 0.8276 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.1629, allocations: 95.88 kB / 0.8277 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008243/0.1637, allocations: 176.6 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1638, allocations: 0 / 0.8278 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008153/0.1646, allocations: 213.5 kB / 0.828 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1646, allocations: 14.22 kB / 0.828 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1646, allocations: 0 / 0.828 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1646, allocations: 0 / 0.828 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.1649, allocations: 35.95 kB / 0.8281 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.1649, allocations: 7.969 kB / 0.8281 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.1651, allocations: 35.89 kB / 0.8281 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1651, allocations: 0 / 0.8281 GB, free: 12.23 MB / 0.5762 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 0.0001098/0.1652, allocations: 119.1 kB / 0.8282 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.1653, allocations: 7.953 kB / 0.8282 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.1653, allocations: 7.984 kB / 0.8282 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1653, allocations: 4 kB / 0.8282 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1653, allocations: 4 kB / 0.8283 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1653, allocations: 336 / 0.8283 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1656, allocations: 180.6 kB / 0.8284 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1656, allocations: 0 / 0.8284 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.1658, allocations: 31.95 kB / 0.8285 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1658, allocations: 3.984 kB / 0.8285 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1658, allocations: 4 kB / 0.8285 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1658, allocations: 0 / 0.8285 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1658, allocations: 3.984 kB / 0.8285 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.1668, allocations: 319.1 kB / 0.8288 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.1668, allocations: 4 kB / 0.8288 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1668, allocations: 0 / 0.8288 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.167, allocations: 27.95 kB / 0.8288 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1671, allocations: 7.984 kB / 0.8288 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1671, allocations: 0 / 0.8288 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.1672, allocations: 99.27 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 0 / 0.8289 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002341/0.1674, allocations: 12.28 kB / 0.8289 GB, free: 11.34 MB / 0.5762 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.0001389/0.1675, allocations: 99.19 kB / 0.829 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008575/0.1684, allocations: 203.7 kB / 0.8292 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1684, allocations: 3.938 kB / 0.8292 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.1688, allocations: 99.88 kB / 0.8293 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1691, allocations: 7.938 kB / 0.8293 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1703, allocations: 257.4 kB / 0.8296 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.1707, allocations: 0.6922 MB / 0.8302 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.015e-05/0.1708, allocations: 19.98 kB / 0.8303 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.1709, allocations: 7.438 kB / 0.8303 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.1709, allocations: 4 kB / 0.8303 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of Templates: time 0.003898/0.1748, allocations: 0.963 MB / 0.8312 GB, free: 8.945 MB / 0.5762 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.6416455283761024] Failed to read output from testmodel.py, exit status != 0: 0.18163590226322412 0.196722422 0.039256796000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f29d79417b0>