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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007526/0.007526, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001823/0.001823, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.657/2.657, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2812, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001705/0.2829, allocations: 0.5922 MB / 1.167 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004494/0.2834, allocations: 163.8 kB / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.2835, allocations: 0 / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.2835, allocations: 3.938 kB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.032e-05/0.2835, allocations: 4 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.2839, allocations: 47.83 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.2839, allocations: 11.98 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.284, allocations: 3.984 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.284, allocations: 8 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.2841, allocations: 11.92 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2841, allocations: 0 / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.883e-05/0.2842, allocations: 35.95 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.2842, allocations: 0 / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.2842, allocations: 15.92 kB / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2843, allocations: 32.17 kB / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2844, allocations: 0 / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2844, allocations: 0 / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2844, allocations: 0 / 1.167 GB, free: 6.297 MB / 0.92 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.0003958/0.2848, allocations: 335.4 kB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2848, allocations: 8.031 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.2849, allocations: 42.73 kB / 1.167 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.2849, allocations: 0.9375 kB / 1.167 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.285, allocations: 164.3 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.285, allocations: 12.31 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.2851, allocations: 384 / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2852, allocations: 50.19 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2852, allocations: 3.938 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2852, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2852, allocations: 4 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.2853, allocations: 15.98 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2854, allocations: 157.7 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.2855, allocations: 46.5 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.2856, allocations: 20.98 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.577e-05/0.2857, allocations: 85.09 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2857, allocations: 30.56 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2857, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001214/0.2869, allocations: 492.4 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.287, allocations: 59.41 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.2871, allocations: 93.84 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2871, allocations: 25.7 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.2871, allocations: 80.14 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.2872, allocations: 23.8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.2872, allocations: 25.64 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2873, allocations: 318.8 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.2874, allocations: 8 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.2874, allocations: 16.11 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.2875, allocations: 36.86 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.2875, allocations: 4 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.2876, allocations: 77.56 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2876, allocations: 11.98 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2876, allocations: 0 / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2876, allocations: 0 / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.2877, allocations: 15.94 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2877, allocations: 0 / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.2878, allocations: 0 / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2878, allocations: 4 kB / 1.169 GB, free: 3.754 MB / 0.92 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.679e-05/0.2879, allocations: 113.8 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.2879, allocations: 7.922 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.2881, allocations: 85.94 kB / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2881, allocations: 7.875 kB / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2881, allocations: 0 / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2881, allocations: 0 / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.2882, allocations: 161.7 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2882, allocations: 8 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.2883, allocations: 15.92 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2883, allocations: 7.938 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2883, allocations: 4 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2883, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2884, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.2885, allocations: 117 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2886, allocations: 85.08 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2886, allocations: 8.062 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.2886, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.2887, allocations: 7.984 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.2887, allocations: 4 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.672e-05/0.2887, allocations: 75.28 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2887, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002357/0.289, allocations: 35.92 kB / 1.17 GB, free: 2.914 MB / 0.92 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.0005124/0.2895, allocations: 0.6788 MB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.2896, allocations: 39.97 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2896, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.2897, allocations: 23.94 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2898, allocations: 8 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.2908, allocations: 1.192 MB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.2911, allocations: 0.6846 MB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.52e-05/0.2911, allocations: 4.625 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.2911, allocations: 18.78 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.2912, allocations: 3.938 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3112, allocations: 1.814 MB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.023, allocations: 12.11 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)