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.001053/0.001053, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.0009711/0.0009711, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 287.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8864/0.8864, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001687, allocations: 93.83 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00234/0.1542, allocations: 1.434 MB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000367/0.1546, allocations: 196.2 kB / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.1546, allocations: 0 / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.1546, allocations: 3.938 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.1547, allocations: 3.938 kB / 0.6832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1549, allocations: 39.89 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.155, allocations: 23.92 kB / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.1551, allocations: 8 kB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.1551, allocations: 11.94 kB / 0.6833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.1551, allocations: 15.92 kB / 0.6833 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.1552, allocations: 0 / 0.6833 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.1552, allocations: 31.97 kB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.1553, allocations: 7.984 kB / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.1553, allocations: 11.92 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.799e-05/0.1554, allocations: 39.89 kB / 0.6834 GB, free: 5.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1554, allocations: 0 / 0.6834 GB, free: 5.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1554, allocations: 0 / 0.6834 GB, free: 5.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1554, allocations: 4 kB / 0.6834 GB, free: 5.625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003684/0.1558, allocations: 347.3 kB / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1558, allocations: 8.031 kB / 0.6837 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.1559, allocations: 4.938 kB / 0.6837 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.156, allocations: 164.4 kB / 0.6839 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.156, allocations: 4.312 kB / 0.6839 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.156, allocations: 8.375 kB / 0.6839 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1561, allocations: 46.23 kB / 0.6839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1562, allocations: 4.188 kB / 0.6839 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1562, allocations: 7.938 kB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1562, allocations: 0 / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1563, allocations: 31.91 kB / 0.684 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.1566, allocations: 249 kB / 0.6842 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1567, allocations: 42.5 kB / 0.6843 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.1568, allocations: 24.89 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.1569, allocations: 85.09 kB / 0.6844 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1569, allocations: 34.5 kB / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.1569, allocations: 0 / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003085/0.1573, allocations: 93.48 kB / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1573, allocations: 51.41 kB / 0.6845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.1574, allocations: 105.8 kB / 0.6846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1574, allocations: 25.7 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.1574, allocations: 80.14 kB / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1575, allocations: 7.844 kB / 0.6847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1575, allocations: 17.72 kB / 0.6848 GB, free: 3.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.1576, allocations: 315 kB / 0.6851 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.1577, allocations: 23.97 kB / 0.6851 GB, free: 3.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1577, allocations: 11.98 kB / 0.6851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1579, allocations: 40.77 kB / 0.6851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1579, allocations: 0 / 0.6851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.1581, allocations: 77.66 kB / 0.6852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1581, allocations: 4 kB / 0.6852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1581, allocations: 0 / 0.6852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.1581, allocations: 0 / 0.6852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.1582, allocations: 11.98 kB / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1582, allocations: 0 / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.1583, allocations: 11.97 kB / 0.6852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1583, allocations: 0 / 0.6852 GB, free: 3.484 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 (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 6.068e-05/0.1583, allocations: 113.8 kB / 0.6853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1584, allocations: 4 kB / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.1586, allocations: 72.72 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1586, allocations: 4 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1586, allocations: 256 / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1586, allocations: 0 / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1587, allocations: 165.6 kB / 0.6856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1588, allocations: 4.031 kB / 0.6856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.1588, allocations: 8 kB / 0.6856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1588, allocations: 7.922 kB / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1588, allocations: 0 / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1588, allocations: 0 / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1588, allocations: 0 / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1591, allocations: 175.3 kB / 0.6858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.1591, allocations: 77.11 kB / 0.6858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1591, allocations: 7.938 kB / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.1592, allocations: 0 / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1592, allocations: 7.984 kB / 0.6859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1592, allocations: 0 / 0.6859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.343e-05/0.1593, allocations: 83.28 kB / 0.6859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1593, allocations: 0 / 0.6859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.1595, allocations: 8 kB / 0.6859 GB, free: 2.66 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 (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.0001329/0.1596, allocations: 111.3 kB / 0.686 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1598, allocations: 35.97 kB / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1598, allocations: 0 / 0.6861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.1599, allocations: 23.91 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1602, allocations: 14.44 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.1604, allocations: 113.7 kB / 0.6862 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1606, allocations: 0.6767 MB / 0.6869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.095e-05/0.1606, allocations: 3.984 kB / 0.6869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.1607, allocations: 11.44 kB / 0.6869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1607, allocations: 0 / 0.6869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of Templates: time 0.002365/0.163, allocations: 0.5841 MB / 0.6875 GB, free: 1.035 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)