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.005142/0.005142, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001196/0.001196, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.242/2.242, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 59.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7609, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001707/0.7626, allocations: 0.6045 MB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003644/0.763, allocations: 160.2 kB / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.763, allocations: 0 / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.763, allocations: 5.219 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.038e-05/0.7631, allocations: 0 / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.7634, allocations: 43.28 kB / 1.088 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.7634, allocations: 13.36 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.7635, allocations: 2.422 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.919e-05/0.7635, allocations: 16.09 kB / 1.088 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.7636, allocations: 8.906 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.7636, allocations: 1.125 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.7637, allocations: 32.25 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.7637, allocations: 5.781 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.7637, allocations: 16.05 kB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.7638, allocations: 22.39 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7639, allocations: 0 / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7639, allocations: 1.062 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.7639, allocations: 0 / 1.088 GB, free: 4.727 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.0003205/0.7642, allocations: 334.1 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.7642, allocations: 10.52 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.7643, allocations: 37.02 kB / 1.089 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.7643, allocations: 2.625 kB / 1.089 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.088e-05/0.7644, allocations: 165.2 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.7644, allocations: 1.781 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.7644, allocations: 3.859 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.7645, allocations: 42.28 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7646, allocations: 3.938 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.7646, allocations: 8 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7646, allocations: 0.9688 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.7646, allocations: 19.62 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.7648, allocations: 162.4 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.7649, allocations: 43.95 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.7649, allocations: 19.3 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-05/0.765, allocations: 90.83 kB / 1.089 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.765, allocations: 34.56 kB / 1.089 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.765, allocations: 0 / 1.089 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001165/0.7662, allocations: 485.5 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.7662, allocations: 54.02 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.729e-05/0.7663, allocations: 99.52 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.7663, allocations: 26.83 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.391e-05/0.7663, allocations: 92.72 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.7663, allocations: 21.8 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.7664, allocations: 23.95 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.7664, allocations: 313.8 kB / 1.09 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.7664, allocations: 12.59 kB / 1.09 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.7665, allocations: 17.27 kB / 1.09 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.7665, allocations: 32.22 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.7666, allocations: 3.938 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001047/0.7667, allocations: 71.86 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7667, allocations: 10.02 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.7667, allocations: 0 / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7667, allocations: 1.062 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.7668, allocations: 13.17 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7668, allocations: 0.6562 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.7668, allocations: 1.344 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.7668, allocations: 1.953 kB / 1.091 GB, free: 2.555 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 4.57e-05/0.7669, allocations: 116.8 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.7669, allocations: 6.328 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.7671, allocations: 89.22 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.7671, allocations: 1.188 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7671, allocations: 0 / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7671, allocations: 1.781 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.7672, allocations: 162.8 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7672, allocations: 4.547 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.7673, allocations: 20.2 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.7673, allocations: 4.984 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.7673, allocations: 2.344 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.7673, allocations: 8.969 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7673, allocations: 3.938 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.7675, allocations: 110.6 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.7675, allocations: 83.03 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.7675, allocations: 5.703 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.7676, allocations: 1.656 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.7676, allocations: 4.516 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7676, allocations: 6.156 kB / 1.091 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.468e-05/0.7676, allocations: 77.02 kB / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7676, allocations: 0.9688 kB / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002315/0.7679, allocations: 32.42 kB / 1.091 GB, free: 1.875 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.0005198/0.7684, allocations: 0.6904 MB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.7685, allocations: 48.78 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7685, allocations: 1.094 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.579e-05/0.7686, allocations: 20.38 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.7687, allocations: 6.969 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.7697, allocations: 1.184 MB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.7699, allocations: 0.6831 MB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.77, allocations: 13.62 kB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.77, allocations: 16.88 kB / 1.094 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.77, allocations: 3.938 kB / 1.094 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.7887, allocations: 1.811 MB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/8.391, allocations: 13.19 kB / 1.096 GB, free: 14.98 MB / 0.8731 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)