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.001217/0.001217, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001158/0.001158, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 284.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8858/0.8858, allocations: 169.2 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 89.45 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002333/0.1505, allocations: 1.43 MB / 0.683 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.1509, allocations: 192.2 kB / 0.6832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1509, allocations: 4 kB / 0.6832 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.151, allocations: 7.938 kB / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.151, allocations: 0 / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1512, allocations: 35.84 kB / 0.6832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.1513, allocations: 27.91 kB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.1514, allocations: 7.938 kB / 0.6833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.1514, allocations: 11.98 kB / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.1515, allocations: 11.94 kB / 0.6833 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1515, allocations: 0 / 0.6833 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.1516, allocations: 43.95 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1516, allocations: 3.938 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.1516, allocations: 7.938 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.676e-05/0.1517, allocations: 43.88 kB / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1517, allocations: 0 / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1517, allocations: 3.984 kB / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1517, allocations: 0 / 0.6834 GB, free: 5.609 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.0003649/0.1521, allocations: 347.4 kB / 0.6837 GB, free: 5.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.1521, allocations: 12.03 kB / 0.6837 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.1522, allocations: 4.938 kB / 0.6837 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.937e-05/0.1523, allocations: 160.4 kB / 0.6839 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.1523, allocations: 4.375 kB / 0.6839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1523, allocations: 8.359 kB / 0.6839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1524, allocations: 50.23 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1525, allocations: 192 / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1525, allocations: 3.938 kB / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1525, allocations: 0 / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1526, allocations: 43.89 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.1529, allocations: 241 kB / 0.6842 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.153, allocations: 42.48 kB / 0.6843 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.1531, allocations: 24.91 kB / 0.6843 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.1532, allocations: 81.11 kB / 0.6844 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.1532, allocations: 30.56 kB / 0.6844 GB, free: 4.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.434e-06/0.1532, allocations: 0 / 0.6844 GB, free: 4.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002967/0.1535, allocations: 93.42 kB / 0.6845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.1535, allocations: 55.41 kB / 0.6845 GB, free: 4.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.1536, allocations: 102 kB / 0.6846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1536, allocations: 29.7 kB / 0.6847 GB, free: 4.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.1537, allocations: 84.14 kB / 0.6847 GB, free: 4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1537, allocations: 11.83 kB / 0.6848 GB, free: 3.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.1537, allocations: 13.72 kB / 0.6848 GB, free: 3.969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.1538, allocations: 318.8 kB / 0.6851 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.1539, allocations: 15.98 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.154, allocations: 15.98 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1541, allocations: 44.75 kB / 0.6851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1541, allocations: 0 / 0.6851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001632/0.1543, allocations: 69.61 kB / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.1543, allocations: 4 kB / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1543, allocations: 3.938 kB / 0.6852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1543, allocations: 8.094 kB / 0.6852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.1544, allocations: 7.984 kB / 0.6852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1544, allocations: 0 / 0.6852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.1544, allocations: 7.984 kB / 0.6852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1544, allocations: 0 / 0.6852 GB, free: 3.465 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 5.832e-05/0.1545, allocations: 113.8 kB / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.1545, allocations: 256 / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.1547, allocations: 80.72 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1547, allocations: 0 / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1548, allocations: 4 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1548, allocations: 3.984 kB / 0.6854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1549, allocations: 157.6 kB / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1549, allocations: 0 / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.155, allocations: 11.98 kB / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.155, allocations: 0 / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.155, allocations: 0 / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.155, allocations: 4.031 kB / 0.6856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.155, allocations: 0 / 0.6856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.1552, allocations: 171.3 kB / 0.6858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.1552, allocations: 81.11 kB / 0.6858 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.1552, allocations: 3.938 kB / 0.6858 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.1553, allocations: 8.016 kB / 0.6859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.1554, allocations: 4 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1554, allocations: 0 / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.1554, allocations: 87.27 kB / 0.6859 GB, free: 2.648 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1554, allocations: 0 / 0.6859 GB, free: 2.648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1556, allocations: 12 kB / 0.686 GB, free: 2.637 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.0001183/0.1557, allocations: 99.25 kB / 0.686 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1559, allocations: 47.95 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1559, allocations: 0 / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.276e-05/0.156, allocations: 19.92 kB / 0.6861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1562, allocations: 3.938 kB / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.1565, allocations: 113.6 kB / 0.6862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.1567, allocations: 0.6806 MB / 0.6869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.1567, allocations: 8.125 kB / 0.6869 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.1567, allocations: 7.438 kB / 0.6869 GB, free: 1.598 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1567, allocations: 0 / 0.6869 GB, free: 1.598 MB / 494.1 MB Notification: Performance of Templates: time 0.002103/0.1588, allocations: 0.5822 MB / 0.6875 GB, free: 1.02 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)