Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001041/0.001041, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 290.2 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 93.5 kB / 0.5947 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1574, allocations: 86.98 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001755/0.1592, allocations: 0.6667 MB / 0.6803 GB, free: 380 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.1596, allocations: 163.4 kB / 0.6804 GB, free: 216 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.1597, allocations: 0.75 kB / 0.6804 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.1597, allocations: 0 / 0.6804 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.1597, allocations: 2.812 kB / 0.6804 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.16, allocations: 39.89 kB / 0.6805 GB, free: 176 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.896e-05/0.1601, allocations: 12 kB / 0.6805 GB, free: 164 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.1601, allocations: 3.984 kB / 0.6805 GB, free: 160 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.1601, allocations: 7.938 kB / 0.6805 GB, free: 152 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.1602, allocations: 7.938 kB / 0.6805 GB, free: 144 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1602, allocations: 4 kB / 0.6805 GB, free: 140 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.1603, allocations: 41.66 kB / 0.6806 GB, free: 100 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1603, allocations: 0 / 0.6806 GB, free: 100 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1603, allocations: 11.94 kB / 0.6806 GB, free: 88 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.936e-05/0.1604, allocations: 31.89 kB / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1604, allocations: 1.719 kB / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1604, allocations: 0 / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1604, allocations: 3.984 kB / 0.6806 GB, free: 52 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003707/0.1608, allocations: 327.9 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1609, allocations: 8.75 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.1609, allocations: 1.812 kB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.191e-05/0.161, allocations: 172.3 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.161, allocations: 1 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.161, allocations: 4.375 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.865e-05/0.1611, allocations: 43.66 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1611, allocations: 192 / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1612, allocations: 7.938 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1612, allocations: 0.6562 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.1612, allocations: 15.98 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1614, allocations: 161.6 kB / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.1614, allocations: 50.56 kB / 0.6814 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.1615, allocations: 20.97 kB / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.1616, allocations: 77.11 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1616, allocations: 34.56 kB / 0.6815 GB, free: 14.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1616, allocations: 0 / 0.6815 GB, free: 14.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001166/0.1628, allocations: 492.4 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.1628, allocations: 59.33 kB / 0.682 GB, free: 14.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.1629, allocations: 89.86 kB / 0.6821 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1629, allocations: 29.7 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.1629, allocations: 84.14 kB / 0.6822 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.163, allocations: 19.66 kB / 0.6822 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.163, allocations: 29.83 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1631, allocations: 310.8 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.1632, allocations: 15.98 kB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.1632, allocations: 15.94 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/0.1633, allocations: 33.08 kB / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1633, allocations: 0 / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001019/0.1634, allocations: 77.66 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1634, allocations: 7.938 kB / 0.6827 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1634, allocations: 3.938 kB / 0.6827 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1634, allocations: 4 kB / 0.6827 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.1635, allocations: 12 kB / 0.6827 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1635, allocations: 0 / 0.6827 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.1635, allocations: 0 / 0.6827 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1636, allocations: 11.94 kB / 0.6827 GB, free: 13.57 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 (8): * Single equations (assignments): 8 * 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.452e-05/0.1636, allocations: 111.1 kB / 0.6828 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1636, allocations: 11.84 kB / 0.6828 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.1638, allocations: 81.58 kB / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1638, allocations: 11.98 kB / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1638, allocations: 0 / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1638, allocations: 0 / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.164, allocations: 161.7 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.164, allocations: 0 / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.164, allocations: 15.98 kB / 0.6831 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1641, allocations: 3.938 kB / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1641, allocations: 0 / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1641, allocations: 0 / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1641, allocations: 0 / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.1642, allocations: 125 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.1643, allocations: 84.95 kB / 0.6833 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1643, allocations: 3.984 kB / 0.6833 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.1644, allocations: 4.031 kB / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.1644, allocations: 0 / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1644, allocations: 12.06 kB / 0.6833 GB, free: 12.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.529e-05/0.1644, allocations: 75.28 kB / 0.6834 GB, free: 12.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1644, allocations: 4.156 kB / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1647, allocations: 31.98 kB / 0.6834 GB, free: 12.74 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001865/0.1649, allocations: 131.2 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.165, allocations: 47.84 kB / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.165, allocations: 0 / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.165, allocations: 20 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1652, allocations: 5.625 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.1654, allocations: 161.7 kB / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1656, allocations: 0.6807 MB / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.585e-05/0.1657, allocations: 11.92 kB / 0.6845 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.1657, allocations: 11.44 kB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1657, allocations: 0 / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of Templates: time 0.002702/0.1684, allocations: 0.8779 MB / 0.6853 GB, free: 10.78 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)