Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00189/0.00189, allocations: 102.2 kB / 16.27 MB, free: 6 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.00179/0.00179, allocations: 191 kB / 17.2 MB, free: 5.609 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 72.42 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2855, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002178/0.2877, allocations: 0.6015 MB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.2882, allocations: 159.5 kB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.2882, allocations: 0 / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.2882, allocations: 3.938 kB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.489e-05/0.2883, allocations: 0 / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.2887, allocations: 47.8 kB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.2888, allocations: 8 kB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.2888, allocations: 7.922 kB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.74e-05/0.2889, allocations: 11.94 kB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.2889, allocations: 4 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.289, allocations: 0 / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.2891, allocations: 39.94 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.2891, allocations: 4 kB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.2891, allocations: 11.88 kB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2892, allocations: 35.88 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2893, allocations: 4 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2893, allocations: 0 / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2893, allocations: 0 / 1.019 GB, free: 9.734 MB / 0.795 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.0004873/0.2898, allocations: 329.5 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2898, allocations: 8.922 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2899, allocations: 4.938 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.29, allocations: 164.4 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.29, allocations: 384 / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.29, allocations: 4.375 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.2902, allocations: 46.25 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2902, allocations: 4.172 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2902, allocations: 3.938 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2902, allocations: 0 / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/0.2903, allocations: 19.92 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.2905, allocations: 161.9 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.2906, allocations: 42.62 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.2906, allocations: 24.97 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.2907, allocations: 81.11 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2908, allocations: 34.56 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.2908, allocations: 0 / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.001392/0.2922, allocations: 0.4884 MB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.2923, allocations: 55.41 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.2923, allocations: 97.86 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2924, allocations: 25.7 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.2924, allocations: 84.08 kB / 1.02 GB, free: 7.793 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.2925, allocations: 27.64 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.2925, allocations: 17.72 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2926, allocations: 314.8 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.2926, allocations: 11.98 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.2927, allocations: 12 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.635e-05/0.2928, allocations: 45.19 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2928, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/0.2929, allocations: 77.61 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2929, allocations: 7.938 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2929, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2929, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.293, allocations: 12 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.293, allocations: 0 / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.2931, allocations: 3.984 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2931, allocations: 7.938 kB / 1.021 GB, free: 7.242 MB / 0.795 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.925e-05/0.2932, allocations: 116.2 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.2932, allocations: 11.84 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.2933, allocations: 77.58 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2934, allocations: 4 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2934, allocations: 0 / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2934, allocations: 0 / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.2935, allocations: 165.7 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2935, allocations: 0 / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.2936, allocations: 16 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2936, allocations: 3.938 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2936, allocations: 0 / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2936, allocations: 0 / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2936, allocations: 4 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.2938, allocations: 117.2 kB / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.2939, allocations: 88.94 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2939, allocations: 8.031 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.2939, allocations: 8.062 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.294, allocations: 4 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.294, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.294, allocations: 75.28 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.294, allocations: 3.938 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002251/0.2943, allocations: 35.98 kB / 1.022 GB, free: 6.418 MB / 0.795 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.0002173/0.2945, allocations: 123.2 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.2946, allocations: 52 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.2946, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.2947, allocations: 23.92 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2948, allocations: 9.5 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.2952, allocations: 155.3 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2955, allocations: 0.6807 MB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.2955, allocations: 15.42 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.2955, allocations: 4 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of Templates: time 0.002583/0.2981, allocations: 0.9244 MB / 1.024 GB, free: 4.371 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)