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.001472/0.001472, allocations: 105.8 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 195.8 kB / 17.34 MB, free: 5.758 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7487/0.7487, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.55 kB / 0.5685 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 77.93 MB / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002827/0.1596, allocations: 1.448 MB / 0.646 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004769/0.1601, allocations: 148.4 kB / 0.6461 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.1601, allocations: 0 / 0.6461 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.394e-05/0.1602, allocations: 7.938 kB / 0.6461 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.1603, allocations: 3.938 kB / 0.6461 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1606, allocations: 39.89 kB / 0.6462 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1607, allocations: 35.91 kB / 0.6462 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1609, allocations: 24 kB / 0.6462 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.1609, allocations: 15.92 kB / 0.6462 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.161, allocations: 27.84 kB / 0.6463 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.161, allocations: 4 kB / 0.6463 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1611, allocations: 31.97 kB / 0.6463 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.1612, allocations: 4 kB / 0.6463 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.1612, allocations: 27.86 kB / 0.6463 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1614, allocations: 59.8 kB / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1614, allocations: 0 / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1614, allocations: 0 / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1614, allocations: 4 kB / 0.6464 GB, free: 7.129 MB / 494.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.0005791/0.162, allocations: 367.2 kB / 0.6467 GB, free: 6.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1621, allocations: 12.56 kB / 0.6468 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.1632, allocations: 212.6 kB / 0.647 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1633, allocations: 172.3 kB / 0.6471 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1633, allocations: 12.31 kB / 0.6471 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1634, allocations: 384 / 0.6471 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.1639, allocations: 194 kB / 0.6473 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.164, allocations: 192 / 0.6473 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.164, allocations: 3.938 kB / 0.6473 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.164, allocations: 0 / 0.6473 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000831/0.1648, allocations: 283.6 kB / 0.6476 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.1657, allocations: 445.3 kB / 0.648 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1669, allocations: 286.3 kB / 0.6483 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.1672, allocations: 100.7 kB / 0.6484 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1673, allocations: 0 / 0.6484 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1673, allocations: 34.5 kB / 0.6484 GB, free: 4.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.1673, allocations: 0 / 0.6484 GB, free: 4.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00117/0.1685, allocations: 313.2 kB / 0.6487 GB, free: 4.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1686, allocations: 59.41 kB / 0.6488 GB, free: 4.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1687, allocations: 117.8 kB / 0.6489 GB, free: 4.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1687, allocations: 29.7 kB / 0.6489 GB, free: 4.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1688, allocations: 84.14 kB / 0.649 GB, free: 4.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1688, allocations: 7.953 kB / 0.649 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.1689, allocations: 21.7 kB / 0.649 GB, free: 4.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.169, allocations: 318.8 kB / 0.6493 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.1694, allocations: 95.88 kB / 0.6494 GB, free: 3.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.1698, allocations: 96.06 kB / 0.6495 GB, free: 3.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.1704, allocations: 176.7 kB / 0.6497 GB, free: 3.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1704, allocations: 0 / 0.6497 GB, free: 3.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007452/0.1712, allocations: 217.3 kB / 0.6499 GB, free: 3.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1712, allocations: 13.88 kB / 0.6499 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1712, allocations: 0 / 0.6499 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1712, allocations: 3.938 kB / 0.6499 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.1715, allocations: 27.95 kB / 0.6499 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1715, allocations: 7.984 kB / 0.6499 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1717, allocations: 23.95 kB / 0.65 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1717, allocations: 4 kB / 0.65 GB, free: 3.238 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.1718, allocations: 121.8 kB / 0.6501 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.1719, allocations: 7.938 kB / 0.6501 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.1719, allocations: 11.91 kB / 0.6501 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.172, allocations: 0 / 0.6501 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.172, allocations: 0 / 0.6501 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.172, allocations: 0 / 0.6501 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.1723, allocations: 217.3 kB / 0.6503 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1723, allocations: 0 / 0.6503 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.1725, allocations: 43.88 kB / 0.6504 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1725, allocations: 0 / 0.6504 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1725, allocations: 384 / 0.6504 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1725, allocations: 0 / 0.6504 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1725, allocations: 4 kB / 0.6504 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.1733, allocations: 315.2 kB / 0.6507 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1734, allocations: 85.05 kB / 0.6507 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1734, allocations: 0 / 0.6507 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1736, allocations: 35.94 kB / 0.6508 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1737, allocations: 0 / 0.6508 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.1737, allocations: 0 / 0.6508 GB, free: 2.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.861e-05/0.1738, allocations: 99.27 kB / 0.6509 GB, free: 2.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1738, allocations: 0 / 0.6509 GB, free: 2.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.174, allocations: 12 kB / 0.6509 GB, free: 2.203 MB / 494.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 (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.000134/0.1741, allocations: 103.1 kB / 0.651 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.1749, allocations: 195.7 kB / 0.6512 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.175, allocations: 0 / 0.6512 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.1753, allocations: 99.88 kB / 0.6513 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1756, allocations: 11.98 kB / 0.6513 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.1765, allocations: 257.2 kB / 0.6515 GB, free: 1.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1768, allocations: 0.6923 MB / 0.6522 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.1768, allocations: 23.92 kB / 0.6522 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.1769, allocations: 11.44 kB / 0.6522 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1769, allocations: 0 / 0.6522 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of Templates: time 0.003054/0.18, allocations: 0.9317 MB / 0.6531 GB, free: 15.84 MB / 0.4981 GB 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)