Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009247, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6494/0.6494, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 12 kB / 493 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 77.16 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001402/0.132, allocations: 1.157 MB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.1323, allocations: 132.5 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.1323, allocations: 0 / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.1324, allocations: 7.938 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.1324, allocations: 7.922 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.1326, allocations: 27.97 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.1327, allocations: 23.97 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.1328, allocations: 15.98 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.1328, allocations: 7.938 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.1329, allocations: 15.92 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1329, allocations: 4 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.236e-05/0.133, allocations: 31.91 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.133, allocations: 11.92 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.133, allocations: 29.7 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.481e-05/0.1331, allocations: 39.94 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1331, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1331, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.1331, allocations: 0 / 0.5583 GB, free: 10.07 MB / 430.1 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.0004057/0.1336, allocations: 361.2 kB / 0.5587 GB, free: 9.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1336, allocations: 16.02 kB / 0.5587 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1347, allocations: 243.5 kB / 0.5589 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1349, allocations: 167 kB / 0.5591 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1349, allocations: 4 kB / 0.5591 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1349, allocations: 8 kB / 0.5591 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.1355, allocations: 209.4 kB / 0.5593 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1355, allocations: 3.953 kB / 0.5593 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1356, allocations: 8 kB / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1356, allocations: 0 / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.1365, allocations: 323.6 kB / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009979/0.1375, allocations: 457.1 kB / 0.56 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.1387, allocations: 334.2 kB / 0.5604 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1388, allocations: 0 / 0.5604 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1388, allocations: 34.62 kB / 0.5604 GB, free: 7.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1388, allocations: 0 / 0.5604 GB, free: 7.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001291/0.1401, allocations: 369.4 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1401, allocations: 51.41 kB / 0.5608 GB, free: 7.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1403, allocations: 118 kB / 0.5609 GB, free: 7.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1403, allocations: 29.7 kB / 0.5609 GB, free: 7.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.1403, allocations: 99.97 kB / 0.561 GB, free: 7.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1404, allocations: 15.84 kB / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.1404, allocations: 0 / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1405, allocations: 318.8 kB / 0.5613 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.1409, allocations: 115.9 kB / 0.5615 GB, free: 6.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.1413, allocations: 111.9 kB / 0.5616 GB, free: 6.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.1417, allocations: 99.89 kB / 0.5617 GB, free: 6.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1417, allocations: 4 kB / 0.5617 GB, free: 6.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008142/0.1425, allocations: 257.3 kB / 0.5619 GB, free: 6.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1425, allocations: 4 kB / 0.5619 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1426, allocations: 0 / 0.5619 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1426, allocations: 4 kB / 0.5619 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.1429, allocations: 43.94 kB / 0.562 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1429, allocations: 0 / 0.562 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1431, allocations: 43.95 kB / 0.562 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1431, allocations: 0 / 0.562 GB, free: 6.082 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.439e-05/0.1432, allocations: 125.8 kB / 0.5621 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1433, allocations: 0 / 0.5621 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.1433, allocations: 11.91 kB / 0.5621 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1433, allocations: 0 / 0.5621 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1433, allocations: 0 / 0.5621 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1433, allocations: 4 kB / 0.5621 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1436, allocations: 209.6 kB / 0.5623 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1436, allocations: 0 / 0.5623 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.1438, allocations: 43.94 kB / 0.5624 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1438, allocations: 0 / 0.5624 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1439, allocations: 0 / 0.5624 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1439, allocations: 0 / 0.5624 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1439, allocations: 7.938 kB / 0.5624 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008515/0.1447, allocations: 351.2 kB / 0.5627 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.1448, allocations: 89 kB / 0.5628 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1448, allocations: 0 / 0.5628 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1451, allocations: 35.95 kB / 0.5628 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1451, allocations: 4.375 kB / 0.5628 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.1451, allocations: 7.938 kB / 0.5628 GB, free: 5.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.841e-05/0.1452, allocations: 99.58 kB / 0.5629 GB, free: 5.016 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1452, allocations: 0 / 0.5629 GB, free: 5.016 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1454, allocations: 12 kB / 0.5629 GB, free: 5.004 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.1456, allocations: 99.92 kB / 0.563 GB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.1464, allocations: 239.7 kB / 0.5633 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1464, allocations: 0 / 0.5633 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.1468, allocations: 123.9 kB / 0.5634 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.147, allocations: 3.953 kB / 0.5634 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.148, allocations: 296.4 kB / 0.5637 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1483, allocations: 0.6926 MB / 0.5644 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.473e-05/0.1483, allocations: 15.98 kB / 0.5644 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.1484, allocations: 15.44 kB / 0.5644 GB, free: 3.477 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1484, allocations: 0 / 0.5644 GB, free: 3.477 MB / 430.1 MB Notification: Performance of Templates: time 0.002718/0.1511, allocations: 0.8104 MB / 0.5652 GB, free: 2.672 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)