Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential") translateModel(IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0012/0.0012, allocations: 96.03 kB / 15.69 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.001072/0.001072, allocations: 177.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.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6643/0.6643, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003133, allocations: 12 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.001415/0.1271, allocations: 1.138 MB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.1275, allocations: 188.4 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.1275, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.1275, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.1276, allocations: 3.984 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1278, allocations: 27.91 kB / 0.5582 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.1278, allocations: 11.98 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.294e-05/0.1279, allocations: 8 kB / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.258e-05/0.1279, allocations: 7.984 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.128, allocations: 11.94 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.128, allocations: 0 / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.1281, allocations: 35.88 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.1281, allocations: 4 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1281, allocations: 29.7 kB / 0.5583 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.1282, allocations: 23.95 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1282, allocations: 0 / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1282, allocations: 0 / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.1282, allocations: 4 kB / 0.5583 GB, free: 10.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003916/0.1286, allocations: 345.9 kB / 0.5586 GB, free: 9.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1287, allocations: 12.02 kB / 0.5586 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.1287, allocations: 3.906 kB / 0.5586 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1288, allocations: 167 kB / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1288, allocations: 0 / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.1288, allocations: 0 / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.129, allocations: 61.66 kB / 0.5588 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.129, allocations: 3.953 kB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.129, allocations: 0 / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1291, allocations: 4 kB / 0.5589 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.1292, allocations: 51.95 kB / 0.5589 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.1296, allocations: 241 kB / 0.5591 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1297, allocations: 46.48 kB / 0.5592 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.1298, allocations: 89.12 kB / 0.5593 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1298, allocations: 30.56 kB / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1298, allocations: 0 / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003579/0.1302, allocations: 101.7 kB / 0.5594 GB, free: 8.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1302, allocations: 55.34 kB / 0.5594 GB, free: 8.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.1303, allocations: 101.8 kB / 0.5595 GB, free: 8.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1303, allocations: 25.7 kB / 0.5596 GB, free: 8.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1304, allocations: 92.03 kB / 0.5597 GB, free: 8.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.1304, allocations: 4 kB / 0.5597 GB, free: 8.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.1304, allocations: 0 / 0.5597 GB, free: 8.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1305, allocations: 318.8 kB / 0.56 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.1306, allocations: 27.97 kB / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.1307, allocations: 15.98 kB / 0.56 GB, free: 8.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/0.1308, allocations: 31.98 kB / 0.56 GB, free: 8.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1308, allocations: 0 / 0.56 GB, free: 8.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.131, allocations: 77.56 kB / 0.5601 GB, free: 8.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1311, allocations: 11.95 kB / 0.5601 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1311, allocations: 4.031 kB / 0.5601 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1311, allocations: 0 / 0.5601 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.1312, allocations: 15.92 kB / 0.5601 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1312, allocations: 0 / 0.5601 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.1312, allocations: 8 kB / 0.5601 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1313, allocations: 0 / 0.5601 GB, free: 7.984 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 (2): * Single equations (assignments): 2 * 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 8.747e-05/0.1314, allocations: 113.8 kB / 0.5603 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1314, allocations: 7.984 kB / 0.5603 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1316, allocations: 80.73 kB / 0.5603 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1316, allocations: 0 / 0.5603 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1317, allocations: 0 / 0.5603 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1317, allocations: 4.031 kB / 0.5603 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1318, allocations: 157.6 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1318, allocations: 3.984 kB / 0.5605 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.1319, allocations: 8.25 kB / 0.5605 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1319, allocations: 0 / 0.5605 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1319, allocations: 12 kB / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1319, allocations: 7.891 kB / 0.5605 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1319, allocations: 0 / 0.5605 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.1322, allocations: 171.4 kB / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.1323, allocations: 85.09 kB / 0.5608 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1323, allocations: 0 / 0.5608 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.1324, allocations: 12.03 kB / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1324, allocations: 11.94 kB / 0.5608 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.1324, allocations: 0 / 0.5608 GB, free: 7.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.1325, allocations: 79.28 kB / 0.5609 GB, free: 7.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1325, allocations: 0 / 0.5609 GB, free: 7.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1327, allocations: 12 kB / 0.5609 GB, free: 7.133 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 (2): * Single equations (assignments): 2 * 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.000163/0.1329, allocations: 111.9 kB / 0.561 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1331, allocations: 47.91 kB / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1331, allocations: 0 / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.1332, allocations: 23.92 kB / 0.5611 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.1334, allocations: 13 kB / 0.5611 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.1337, allocations: 112.6 kB / 0.5612 GB, free: 6.797 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1339, allocations: 0.677 MB / 0.5618 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.339e-05/0.1339, allocations: 7.984 kB / 0.5618 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.134, allocations: 7.438 kB / 0.5618 GB, free: 6.078 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.134, allocations: 0 / 0.5618 GB, free: 6.078 MB / 430.1 MB Notification: Performance of Templates: time 0.002313/0.1363, allocations: 0.4929 MB / 0.5623 GB, free: 5.59 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)