Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.InverseXDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_9_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.006381/0.006381, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001507/0.001507, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.281/2.281, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.805, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001886/0.807, allocations: 0.5963 MB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.8087, allocations: 1.453 MB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.8088, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.8088, allocations: 4 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.8088, allocations: 3.938 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.8094, allocations: 137.4 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.8094, allocations: 26.83 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.8095, allocations: 6.719 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.8096, allocations: 24.83 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.8097, allocations: 23.03 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.8097, allocations: 2.062 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005454/0.8102, allocations: 310.5 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.8103, allocations: 13.66 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.8103, allocations: 14.84 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.8106, allocations: 187.1 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8106, allocations: 3.938 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8107, allocations: 1.031 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.8107, allocations: 4 kB / 1.09 GB, free: 3.613 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005012/0.8112, allocations: 361.3 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8112, allocations: 9.578 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.8113, allocations: 32.39 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/0.8117, allocations: 70.69 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.8118, allocations: 167.3 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.8119, allocations: 1.5 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.8119, allocations: 9.453 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.8122, allocations: 80.12 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8122, allocations: 0 / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.8122, allocations: 1.156 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.8122, allocations: 1.672 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.8125, allocations: 63.72 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.8127, allocations: 164.5 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.8134, allocations: 131.1 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.8136, allocations: 40.66 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.814, allocations: 151.5 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.8141, allocations: 40.7 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.8141, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001206/0.8153, allocations: 402.6 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.8153, allocations: 56.03 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.8154, allocations: 98.75 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.8154, allocations: 26.36 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.443e-05/0.8154, allocations: 80.14 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.8154, allocations: 20.17 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.8155, allocations: 21.53 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.8155, allocations: 313.5 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.8157, allocations: 34.7 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.8159, allocations: 42.06 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.8162, allocations: 75.53 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.8163, allocations: 192 / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003807/0.8166, allocations: 123.7 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.8167, allocations: 6.109 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8167, allocations: 0 / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8167, allocations: 1.031 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.8169, allocations: 23.27 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8169, allocations: 0 / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.817, allocations: 19.73 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.817, allocations: 3.766 kB / 1.093 GB, free: 1.527 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 (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 5.829e-05/0.8171, allocations: 111.1 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.8171, allocations: 10.66 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.8176, allocations: 132.9 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8176, allocations: 0.8125 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8176, allocations: 0 / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8176, allocations: 1.531 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.8177, allocations: 170.7 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8177, allocations: 3.938 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.8179, allocations: 26.48 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8179, allocations: 0.9844 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.8179, allocations: 6.484 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8179, allocations: 0.7969 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8179, allocations: 0.9062 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.8185, allocations: 181.1 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.8186, allocations: 99.55 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.8186, allocations: 5.172 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.8188, allocations: 17.27 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.8188, allocations: 4.406 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.8188, allocations: 10.91 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.188e-05/0.8188, allocations: 77.7 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8189, allocations: 0 / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002457/0.8191, allocations: 31.61 kB / 1.094 GB, free: 0.8359 MB / 0.8575 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.000954/0.8201, allocations: 0.7469 MB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.8205, allocations: 86.75 kB / 1.094 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8205, allocations: 0 / 1.094 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.8207, allocations: 45.69 kB / 1.095 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.8209, allocations: 6.422 kB / 1.095 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.823, allocations: 1.35 MB / 1.096 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.8233, allocations: 0.6794 MB / 1.096 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.442e-05/0.8234, allocations: 27.23 kB / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.8235, allocations: 18.78 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8235, allocations: 0 / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.845, allocations: 2.055 MB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.401, allocations: 5.656 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)