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.001429/0.001429, allocations: 110.2 kB / 16.41 MB, free: 6.496 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.001544/0.001544, allocations: 187 kB / 17.34 MB, free: 5.762 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.16 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.676/2.676, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7717, 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.001845/0.7736, allocations: 0.5892 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.774, allocations: 161.2 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.774, allocations: 0 / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.774, allocations: 4 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.787e-05/0.774, allocations: 5.062 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.7744, allocations: 42.44 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.861e-05/0.7744, allocations: 17.09 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.7745, allocations: 3.656 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.7745, allocations: 7.531 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.7746, allocations: 13.36 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.7746, allocations: 1.094 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.7747, allocations: 32.45 kB / 1.09 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.7747, allocations: 2.219 kB / 1.09 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.7747, allocations: 10.88 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.7748, allocations: 34.7 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7749, allocations: 1 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7749, allocations: 0 / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.7749, 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.000337/0.7752, allocations: 328.9 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7753, allocations: 10.31 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.7753, allocations: 3.125 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.477e-05/0.7754, allocations: 165.5 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.7754, allocations: 10.62 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.7754, allocations: 1.953 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.7755, allocations: 41.98 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7755, allocations: 5.156 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.7755, allocations: 4.547 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7756, allocations: 0.9062 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.7756, allocations: 15.75 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.7757, allocations: 162.1 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.7758, allocations: 52.3 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.7759, allocations: 19.05 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-05/0.7759, allocations: 81.45 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.776, allocations: 43.86 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.776, allocations: 0.9375 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.00116/0.7771, allocations: 480.8 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.7772, allocations: 57.08 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.442e-05/0.7772, allocations: 99.97 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.7772, allocations: 26.86 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.7772, allocations: 80.14 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.7773, allocations: 23.33 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.7773, allocations: 21.58 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.296e-05/0.7774, allocations: 313.6 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.7774, allocations: 16.45 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.7774, allocations: 17 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.486e-05/0.7775, allocations: 44.14 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.7775, allocations: 0 / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001028/0.7776, allocations: 63.38 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7776, allocations: 10.3 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7776, allocations: 0 / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.7777, allocations: 5.703 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.7777, allocations: 12.77 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7778, allocations: 1.031 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.7778, allocations: 9 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.7778, allocations: 6.906 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 5.139e-05/0.7779, allocations: 115.3 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.7779, allocations: 10.64 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.7781, allocations: 80.27 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7781, allocations: 1.766 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7781, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7781, allocations: 1.812 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.7782, allocations: 171 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7782, allocations: 0 / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.774e-05/0.7783, allocations: 17.7 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.7783, allocations: 7.875 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.7783, allocations: 1.641 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7783, allocations: 0.75 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7783, allocations: 0.7969 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.7785, allocations: 110.8 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.7785, allocations: 95.52 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.7785, allocations: 1.031 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.7786, allocations: 1.406 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.7786, allocations: 9.422 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.7786, allocations: 2.125 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.723e-05/0.7786, allocations: 76.75 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7787, allocations: 0 / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000234/0.7789, allocations: 29.52 kB / 1.092 GB, free: 2.148 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.0001841/0.7791, allocations: 141.2 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.7792, allocations: 37.78 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7792, allocations: 0 / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.7793, allocations: 26.22 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.0001461/0.7794, allocations: 1.703 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.7797, allocations: 160.6 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.7799, 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.764e-05/0.7799, allocations: 15.91 kB / 1.093 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.7799, allocations: 0 / 1.093 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of Templates: time 0.002784/0.7827, allocations: 0.9229 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)