Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_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.001607/0.001607, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.001835/0.001835, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7779, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001617/0.7795, allocations: 0.5946 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.7799, allocations: 162.4 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.7799, allocations: 0 / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.7799, allocations: 7.938 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.73e-05/0.78, allocations: 1.156 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.7803, allocations: 42.16 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.7803, allocations: 14.11 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.7804, allocations: 1.938 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.7804, allocations: 8.719 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.7805, allocations: 13.02 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.7805, allocations: 1.219 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.7806, allocations: 31.86 kB / 1.09 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.7806, allocations: 6.25 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.7806, allocations: 7.875 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.909e-05/0.7807, allocations: 34.34 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7807, allocations: 1.062 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7807, allocations: 0 / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7807, allocations: 0 / 1.09 GB, free: 4.953 MB / 0.8575 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.0003042/0.7811, allocations: 330.1 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.7811, allocations: 10.97 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.7811, allocations: 2.031 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.7812, allocations: 166.7 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.7812, allocations: 5.938 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.7813, allocations: 1.562 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.7814, allocations: 43.22 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.7814, allocations: 0.7969 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.7814, allocations: 3.938 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7814, allocations: 1.344 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.7815, allocations: 19.41 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.7816, allocations: 162 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.372e-05/0.7817, allocations: 56.08 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.7817, allocations: 19.56 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-05/0.7818, allocations: 81.25 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.7818, allocations: 35.62 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.7818, allocations: 0 / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001107/0.7829, allocations: 491.2 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.783, allocations: 59.41 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.937e-05/0.783, allocations: 97.42 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.783, allocations: 25.7 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.186e-05/0.7831, allocations: 80.14 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.7831, allocations: 23.33 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.7831, allocations: 21.53 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.7832, allocations: 317.5 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.7832, allocations: 8.109 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.7832, allocations: 22.3 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/0.7833, allocations: 35.12 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.7833, allocations: 1 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001037/0.7834, allocations: 72.03 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7834, allocations: 9.156 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7834, allocations: 0 / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7835, allocations: 5.797 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.7835, allocations: 16.52 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.7836, allocations: 0.5625 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.7836, allocations: 5.062 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.7836, allocations: 3.047 kB / 1.092 GB, free: 2.82 MB / 0.8575 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 4.732e-05/0.7836, allocations: 112.4 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.7837, allocations: 9.812 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.7838, allocations: 84.42 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7838, allocations: 1.344 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7839, allocations: 0.7031 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7839, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.784, allocations: 171.5 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.784, allocations: 5.312 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.784, allocations: 12.27 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7841, allocations: 8.625 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.7841, allocations: 1.766 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7841, allocations: 0.9375 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7841, allocations: 0.5156 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.7843, allocations: 114.6 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.7843, allocations: 90.97 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7843, allocations: 1.891 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.7843, allocations: 5.875 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.7844, allocations: 4.391 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.7844, allocations: 7.062 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.784e-05/0.7844, allocations: 77.05 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7844, allocations: 0 / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002266/0.7846, allocations: 32.98 kB / 1.092 GB, free: 2.141 MB / 0.8575 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.0001916/0.7848, allocations: 133 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.785, allocations: 41.53 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.785, allocations: 1 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.785, allocations: 21.45 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.7852, allocations: 7.906 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.7855, allocations: 163.3 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.7856, allocations: 0.6804 MB / 1.093 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.7857, allocations: 16.06 kB / 1.093 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.7857, allocations: 0 / 1.093 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.00271/0.7884, allocations: 0.9265 MB / 1.094 GB, free: 17.09 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)