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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_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.001341/0.001341, 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.001398/0.001398, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.367 MB / 190.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.268/2.268, allocations: 390.3 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.14 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6164, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001881/0.6183, allocations: 0.5975 MB / 0.9503 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004/0.6187, allocations: 150.4 kB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.6188, allocations: 1.375 kB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.6188, allocations: 3.938 kB / 0.9505 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.63e-05/0.6188, allocations: 0 / 0.9505 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.6192, allocations: 43.02 kB / 0.9505 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.6192, allocations: 18.86 kB / 0.9505 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.6193, allocations: 1.375 kB / 0.9505 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.6193, allocations: 8.109 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.6193, allocations: 14.67 kB / 0.9506 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.6194, allocations: 0 / 0.9506 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.6194, allocations: 32.47 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.6195, allocations: 1.375 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.6195, allocations: 14.67 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.533e-05/0.6196, allocations: 28.2 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6196, allocations: 0 / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6196, allocations: 1.375 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6196, allocations: 7.938 kB / 0.9506 GB, free: 8.465 MB / 0.7169 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.0002791/0.6199, allocations: 329.1 kB / 0.9509 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.6199, allocations: 9.625 kB / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.62, allocations: 32.12 kB / 0.951 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.62, allocations: 6.25 kB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.815e-05/0.6201, allocations: 168 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.6201, allocations: 5.75 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.6201, allocations: 1.75 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.6202, allocations: 46.5 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.6202, allocations: 3.938 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.6202, allocations: 0 / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6202, allocations: 1.375 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.6203, allocations: 20.17 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.6204, allocations: 155.2 kB / 0.9514 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6206, allocations: 47.56 kB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.6206, allocations: 17.83 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.494e-05/0.6207, allocations: 95.52 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.6208, allocations: 35.81 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.6208, allocations: 0 / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001124/0.6219, allocations: 479.5 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.6219, allocations: 52.94 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.739e-05/0.622, allocations: 98.98 kB / 0.9522 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.622, allocations: 31.42 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.179e-05/0.622, allocations: 84.12 kB / 0.9523 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.622, allocations: 22.94 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.6221, allocations: 19 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.6221, allocations: 316.4 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.6221, allocations: 11.28 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.6222, allocations: 18.38 kB / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.6222, allocations: 35.39 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.6222, allocations: 4 kB / 0.9527 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.085e-05/0.6223, allocations: 70.94 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6224, allocations: 5.562 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6224, allocations: 1.156 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.6224, allocations: 1.625 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.6225, allocations: 14.27 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6225, allocations: 1.188 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.6225, allocations: 8 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.6225, allocations: 7.125 kB / 0.9528 GB, free: 6.215 MB / 0.7169 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.405e-05/0.6226, allocations: 114.9 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.6226, allocations: 6.375 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.6227, allocations: 87.25 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.6227, allocations: 5.328 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6227, allocations: 1.281 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6228, allocations: 0 / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.015e-05/0.6228, allocations: 169.6 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6228, allocations: 0 / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.6229, allocations: 19.3 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6229, allocations: 5.75 kB / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.6229, allocations: 0 / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6229, allocations: 1.438 kB / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6229, allocations: 0 / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.6231, allocations: 121.8 kB / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.6231, allocations: 82.33 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.6231, allocations: 1.344 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.6232, allocations: 1.625 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.6232, allocations: 14.89 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.6232, allocations: 2.781 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.459e-05/0.6232, allocations: 75.28 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6232, allocations: 0 / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002098/0.6235, allocations: 28.59 kB / 0.9535 GB, free: 5.508 MB / 0.7169 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.000381/0.6238, allocations: 0.6953 MB / 0.9542 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.624, allocations: 45 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.624, allocations: 0 / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.624, allocations: 22.27 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.6242, allocations: 6.25 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/0.6249, allocations: 1.188 MB / 0.9554 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.625, allocations: 0.6881 MB / 0.9561 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.625, allocations: 7.719 kB / 0.9561 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.6251, allocations: 22.89 kB / 0.9561 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6251, allocations: 1.125 kB / 0.9561 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.6429, allocations: 1.781 MB / 0.9578 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.97, allocations: 16.03 kB / 0.9579 GB, free: 1.973 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)