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.004415/0.004415, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.0009998/0.0009998, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 282.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 103.8 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1569, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.0025/0.1594, allocations: 1.437 MB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004404/0.1599, allocations: 192.2 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.1599, allocations: 4 kB / 0.768 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.16, allocations: 3.938 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.712e-05/0.16, allocations: 3.984 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1603, allocations: 39.91 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.1603, allocations: 19.92 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.1604, allocations: 8 kB / 0.768 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.1605, allocations: 11.92 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.63e-05/0.1605, allocations: 11.98 kB / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1605, allocations: 0 / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.009e-05/0.1606, allocations: 35.97 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.1606, allocations: 15.92 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1607, allocations: 7.938 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1608, allocations: 39.88 kB / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1608, allocations: 0 / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.076e-06/0.1608, allocations: 0 / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1608, allocations: 3.938 kB / 0.7682 GB, free: 6.602 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.0004236/0.1612, allocations: 347.4 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1613, allocations: 8.031 kB / 0.7685 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1613, allocations: 12.92 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1614, allocations: 164.3 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1615, allocations: 384 / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1615, allocations: 4.375 kB / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1617, allocations: 46.23 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1617, allocations: 4.188 kB / 0.7687 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1617, allocations: 3.938 kB / 0.7687 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1617, allocations: 0 / 0.7687 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1619, allocations: 43.89 kB / 0.7688 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1622, allocations: 249 kB / 0.769 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1624, allocations: 42.44 kB / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.1624, allocations: 20.89 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.1626, allocations: 85.11 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1626, allocations: 30.56 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1626, allocations: 0 / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.1629, allocations: 85.58 kB / 0.7693 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.163, allocations: 51.41 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.1631, allocations: 106 kB / 0.7694 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1631, allocations: 29.7 kB / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.1632, allocations: 84.14 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1632, allocations: 11.84 kB / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.1632, allocations: 9.719 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1633, allocations: 318.8 kB / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.1634, allocations: 19.97 kB / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.1635, allocations: 19.98 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1637, allocations: 41.02 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1637, allocations: 0 / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.1639, allocations: 77.5 kB / 0.77 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1639, allocations: 4 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1639, allocations: 0 / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1639, allocations: 4.094 kB / 0.77 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.164, allocations: 15.92 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.164, allocations: 0 / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1641, allocations: 7.984 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1641, allocations: 0 / 0.77 GB, free: 4.449 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 7.339e-05/0.1642, allocations: 118.4 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1642, allocations: 0 / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1644, allocations: 76.72 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1644, allocations: 4 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1645, allocations: 0 / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1645, allocations: 0 / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1646, allocations: 161.6 kB / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1646, allocations: 0 / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.1647, allocations: 11.98 kB / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1647, allocations: 0 / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1647, allocations: 0 / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1647, allocations: 4.031 kB / 0.7704 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1647, allocations: 0 / 0.7704 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1649, allocations: 167.4 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.165, allocations: 81.02 kB / 0.7706 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.165, allocations: 4 kB / 0.7706 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.1651, allocations: 3.984 kB / 0.7706 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1651, allocations: 11.97 kB / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1651, allocations: 0 / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.1652, allocations: 83.28 kB / 0.7707 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1652, allocations: 0 / 0.7707 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002223/0.1654, allocations: 8 kB / 0.7707 GB, free: 3.633 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.0001502/0.1656, allocations: 115.2 kB / 0.7708 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1658, allocations: 39.97 kB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1658, allocations: 0 / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.1659, allocations: 27.91 kB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1661, allocations: 6.281 kB / 0.7709 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.1664, allocations: 101.6 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.1666, allocations: 0.6768 MB / 0.7717 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.1666, allocations: 4.125 kB / 0.7717 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.1667, allocations: 11.44 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.1667, allocations: 3.938 kB / 0.7717 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of Templates: time 0.002531/0.1692, allocations: 0.5953 MB / 0.7723 GB, free: 1.996 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)