Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005062/0.005062, allocations: 106.2 kB / 15.74 MB, free: 6 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.001107/0.001107, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 293.8 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9601/0.9601, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 95.84 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1663, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002206/0.1685, allocations: 1.443 MB / 0.7678 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.1689, allocations: 184.3 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.169, allocations: 7.938 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.169, allocations: 0 / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1691, allocations: 7.922 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1694, allocations: 35.91 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.1695, allocations: 27.92 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.1696, allocations: 0 / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.1696, allocations: 15.94 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.1697, allocations: 15.97 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1697, allocations: 4 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.1698, allocations: 31.97 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1698, allocations: 7.922 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1698, allocations: 11.94 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1699, allocations: 31.94 kB / 0.7682 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1699, allocations: 0 / 0.7682 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.895e-06/0.1699, allocations: 0 / 0.7682 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.17, allocations: 7.938 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004205/0.1704, allocations: 351.3 kB / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1704, allocations: 12.03 kB / 0.7685 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.1705, allocations: 4.922 kB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1706, allocations: 164.3 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1706, allocations: 4.375 kB / 0.7687 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1706, allocations: 4.375 kB / 0.7687 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1708, allocations: 54.17 kB / 0.7687 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1708, allocations: 192 / 0.7687 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1708, allocations: 7.938 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1708, allocations: 0 / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.171, allocations: 31.97 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1713, allocations: 245 kB / 0.769 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1715, allocations: 46.42 kB / 0.7691 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.1716, allocations: 32.89 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.1717, allocations: 77.11 kB / 0.7692 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.1717, allocations: 34.56 kB / 0.7692 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1717, allocations: 0 / 0.7692 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.1721, allocations: 81.64 kB / 0.7693 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1721, allocations: 55.53 kB / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.1722, allocations: 101.8 kB / 0.7694 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1723, allocations: 25.7 kB / 0.7694 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.1723, allocations: 84.14 kB / 0.7695 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1723, allocations: 7.844 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1724, allocations: 21.66 kB / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1725, allocations: 314.8 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.1726, allocations: 23.97 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.1727, allocations: 15.98 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1728, allocations: 32.83 kB / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1728, allocations: 0 / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.1731, allocations: 81.56 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1731, allocations: 4 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1731, allocations: 4 kB / 0.77 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1731, allocations: 0 / 0.77 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.1732, allocations: 11.92 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1732, allocations: 3.938 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.1733, allocations: 7.984 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1733, allocations: 256 / 0.77 GB, free: 4.43 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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 8.906e-05/0.1734, allocations: 114.4 kB / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.1734, allocations: 4.031 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.1737, allocations: 72.78 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1737, allocations: 4 kB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1737, allocations: 0 / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1737, allocations: 3.938 kB / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1739, allocations: 161.6 kB / 0.7704 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1739, allocations: 4 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.1739, allocations: 12.02 kB / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1739, allocations: 0 / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.174, allocations: 0 / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.174, allocations: 0 / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.174, allocations: 7.938 kB / 0.7704 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1742, allocations: 163.5 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.1743, allocations: 85.05 kB / 0.7706 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1743, allocations: 0 / 0.7706 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1744, allocations: 7.984 kB / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1744, allocations: 0 / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1744, allocations: 0 / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.1745, allocations: 83.28 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1745, allocations: 4 kB / 0.7707 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002286/0.1747, allocations: 8 kB / 0.7707 GB, free: 3.613 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0001808/0.1749, allocations: 119.2 kB / 0.7708 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1752, allocations: 39.91 kB / 0.7709 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1752, allocations: 0 / 0.7709 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.1753, allocations: 19.97 kB / 0.7709 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1756, allocations: 3.938 kB / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.1758, allocations: 109.7 kB / 0.771 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1761, allocations: 0.6768 MB / 0.7717 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.1761, allocations: 4 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.1762, allocations: 7.438 kB / 0.7717 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.1762, allocations: 3.938 kB / 0.7717 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of Templates: time 0.002608/0.1788, allocations: 0.5833 MB / 0.7723 GB, free: 1.988 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)