Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.004788/0.004788, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001202/0.001202, allocations: 188.6 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.7 MB / 0.5094 GB, free: 3.07 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.91 kB / 0.7258 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1726, allocations: 104.7 MB / 0.8281 GB, free: 280 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001527/0.1742, allocations: 0.6092 MB / 0.8287 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003514/0.1745, allocations: 167.8 kB / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1746, allocations: 0 / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1746, allocations: 0 / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.756e-05/0.1746, allocations: 0 / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.1749, allocations: 35.84 kB / 0.8289 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.768e-05/0.175, allocations: 15.98 kB / 0.8289 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.175, allocations: 4 kB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.175, allocations: 11.92 kB / 0.8289 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.1751, allocations: 4 kB / 0.8289 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1751, allocations: 8 kB / 0.8289 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.1752, allocations: 31.97 kB / 0.8289 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1752, allocations: 7.969 kB / 0.829 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.1752, allocations: 11.94 kB / 0.829 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.809e-05/0.1753, allocations: 27.89 kB / 0.829 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1753, allocations: 0 / 0.829 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1753, allocations: 0 / 0.829 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1753, allocations: 0 / 0.829 GB, free: 15.35 MB / 0.6544 GB 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.0003389/0.1757, allocations: 343.4 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1757, allocations: 8.031 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1758, allocations: 4.938 kB / 0.8293 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.788e-05/0.1759, allocations: 168.3 kB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.1759, allocations: 384 / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.1759, allocations: 8.375 kB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.176, allocations: 42.19 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.176, allocations: 192 / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.176, allocations: 7.938 kB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1761, allocations: 0 / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.1761, allocations: 15.98 kB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1763, allocations: 157.7 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.1764, allocations: 50.61 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.1764, allocations: 20.97 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-05/0.1765, allocations: 77.11 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1766, allocations: 38.5 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1766, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.001157/0.1777, allocations: 492.2 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1778, allocations: 51.41 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/0.1778, allocations: 93.84 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1779, allocations: 29.7 kB / 0.8305 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.1779, allocations: 84.14 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1779, allocations: 23.64 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.178, allocations: 25.7 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.1781, allocations: 315 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.1781, allocations: 15.98 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.1781, allocations: 12 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.1782, allocations: 32.8 kB / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1782, allocations: 3.938 kB / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.616e-05/0.1783, allocations: 73.67 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1783, allocations: 7.938 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1783, allocations: 0 / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1783, allocations: 0 / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.1784, allocations: 16 kB / 0.8311 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1784, allocations: 0 / 0.8311 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.1784, allocations: 4 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1785, allocations: 4.312 kB / 0.8311 GB, free: 12.86 MB / 0.6544 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 (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.41e-05/0.1785, allocations: 115.5 kB / 0.8312 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1786, allocations: 11.84 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.1787, allocations: 85.61 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1787, allocations: 4 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1787, allocations: 4 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1787, allocations: 0 / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1788, allocations: 161.9 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1789, allocations: 4 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.1789, allocations: 19.92 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1789, allocations: 3.938 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.179, allocations: 0 / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.179, allocations: 0 / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.179, allocations: 0 / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.1791, allocations: 125 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.1792, allocations: 81.05 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1792, allocations: 0 / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.1792, allocations: 8.016 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.1792, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1793, allocations: 8 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.522e-05/0.1793, allocations: 79.22 kB / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1793, allocations: 0 / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001942/0.1795, allocations: 32.14 kB / 0.8318 GB, free: 12.03 MB / 0.6544 GB 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.0001754/0.1797, allocations: 131.2 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.1798, allocations: 39.97 kB / 0.832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1798, allocations: 0 / 0.832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.1798, allocations: 31.86 kB / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.18, allocations: 3.938 kB / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.1802, allocations: 141.4 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.1804, allocations: 0.6883 MB / 0.8328 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.1804, allocations: 7.938 kB / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.1805, allocations: 15.42 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of SimCode: time 1.8e-07/0.1805, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002721/0.1832, allocations: 0.8851 MB / 0.8337 GB, free: 10.06 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)