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.001616/0.001622, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.514/2.514, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 71.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.599, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001866/0.6009, allocations: 0.6019 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.6014, allocations: 159.5 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.6014, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.6014, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.649e-05/0.6015, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.6018, allocations: 35.84 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.6018, allocations: 15.97 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.6019, allocations: 8 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.6019, allocations: 3.938 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.602, allocations: 7.984 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.602, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.774e-05/0.6021, allocations: 39.97 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.6021, allocations: 11.98 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.6021, allocations: 7.922 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.6023, allocations: 27.89 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6023, allocations: 4 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6023, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.6023, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 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.0003486/0.6026, allocations: 327.5 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6027, allocations: 12.03 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.6027, allocations: 38.73 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.6028, allocations: 4.938 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6029, allocations: 166.6 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.6029, allocations: 4.312 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.6029, allocations: 384 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.603, allocations: 50.25 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.603, allocations: 3.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.603, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6031, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.6031, allocations: 11.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.6033, allocations: 165.7 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.6034, allocations: 46.5 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.6034, allocations: 20.98 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.6e-05/0.6035, allocations: 81.09 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.6035, allocations: 30.56 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 2.314e-06/0.6036, allocations: 7.984 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of matching and sorting (n=7): time 0.001242/0.6048, allocations: 492.3 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6048, allocations: 55.41 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.6049, allocations: 93.84 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.6049, allocations: 25.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.605, allocations: 84.14 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.605, allocations: 23.64 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.605, allocations: 33.77 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.6051, allocations: 314.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.6052, allocations: 12 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.6052, allocations: 16.06 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.6053, allocations: 33 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6053, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.6054, allocations: 69.62 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6054, allocations: 8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6054, allocations: 3.984 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.6054, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.6055, allocations: 19.94 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6055, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.6056, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.6056, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 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.878e-05/0.6057, allocations: 109.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.6057, allocations: 11.92 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.6058, allocations: 89.47 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.6059, allocations: 7.938 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6059, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.6059, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.606, allocations: 157.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.606, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.6061, allocations: 19.92 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6061, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6061, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.6061, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6061, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.6063, allocations: 125.1 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.6063, allocations: 81.05 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.6064, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.66e-05/0.6064, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.6064, allocations: 3.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.6064, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.6065, allocations: 79.22 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.413e-06/0.6065, allocations: 160 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.6067, allocations: 39.94 kB / 1.021 GB, free: 14.18 MB / 0.7794 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.000475/0.6072, allocations: 0.6787 MB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.6073, allocations: 44.28 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6073, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.6074, allocations: 24.16 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.6075, allocations: 9.719 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.6085, allocations: 1.188 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.6087, allocations: 0.6807 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.6088, allocations: 7.984 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.6088, allocations: 15.44 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6088, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.6266, allocations: 1.782 MB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.748, allocations: 20.25 kB / 1.026 GB, free: 9.711 MB / 0.7794 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)