Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.005032/0.005032, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001311/0.001312, allocations: 196.4 kB / 16.68 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.601/2.601, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.91 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7901, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001735/0.7918, allocations: 0.5961 MB / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.7939, allocations: 1.447 MB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.7939, allocations: 0 / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.7939, allocations: 0 / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.794, allocations: 4 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.7945, allocations: 139.4 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.7946, allocations: 35.89 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.7947, allocations: 3.938 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.7947, allocations: 23.92 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.7948, allocations: 23.97 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.7948, allocations: 4 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.7954, allocations: 315.3 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.7954, allocations: 7.984 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.7954, allocations: 11.98 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.7958, allocations: 191.2 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7958, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7958, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.7958, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005986/0.7964, allocations: 375 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7964, allocations: 8.922 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.7965, allocations: 30.75 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000508/0.797, allocations: 68.84 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.7971, allocations: 160.4 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.7972, allocations: 4.359 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.7972, allocations: 8.375 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.7975, allocations: 85.64 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7975, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.7975, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7975, allocations: 0 / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.7979, allocations: 67.92 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.7981, allocations: 161.6 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.7988, allocations: 122.6 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.799, allocations: 56.89 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.7995, allocations: 153 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.7995, allocations: 34.5 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.7995, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.001255/0.8008, allocations: 410.2 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.8008, allocations: 51.41 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.8009, allocations: 97.84 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.801, allocations: 29.7 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.801, allocations: 80.14 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.8011, allocations: 19.83 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.8011, allocations: 25.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8013, allocations: 315 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.8015, allocations: 31.97 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.8017, allocations: 39.97 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.802, allocations: 68.8 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.802, allocations: 4 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004144/0.8024, allocations: 121.4 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8025, allocations: 8 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8025, allocations: 4 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.8025, allocations: 0 / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.8027, allocations: 23.97 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.8027, allocations: 0 / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.8028, allocations: 11.98 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.8028, allocations: 4 kB / 1.171 GB, free: 14 MB / 0.9044 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 (6): * Single equations (assignments): 6 * 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 9.672e-05/0.8029, allocations: 113.8 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.803, allocations: 7.891 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.8035, allocations: 137.1 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.8035, allocations: 3.938 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8035, allocations: 4.312 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8035, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.8037, allocations: 169.7 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.8037, allocations: 7.938 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.8039, allocations: 23.97 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8039, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.8039, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8039, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8039, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.8045, allocations: 189 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.8046, allocations: 93.02 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.8047, allocations: 3.984 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.8048, allocations: 11.98 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.8048, allocations: 4.062 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.8048, allocations: 8 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.8049, allocations: 83.27 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8049, allocations: 0 / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002488/0.8052, allocations: 27.88 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.001063/0.8062, allocations: 0.7529 MB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.8067, allocations: 84 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8067, allocations: 0 / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.8069, allocations: 47.89 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.807, allocations: 0 / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.8093, allocations: 1.356 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.8097, allocations: 0.6768 MB / 1.175 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.8098, allocations: 16 kB / 1.175 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.8099, allocations: 19.38 kB / 1.175 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.8099, allocations: 4 kB / 1.175 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.8372, allocations: 2.066 MB / 1.177 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.926, allocations: 14.16 kB / 1.177 GB, free: 7.992 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_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_InverseXDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)