Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009588/0.0009588, allocations: 173 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.3 MB / 0.5671 GB, free: 15.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009521/0.000952, allocations: 100.6 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.658e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7748/0.9986, allocations: 132.7 MB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.9988, allocations: 74.45 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01203/1.011, allocations: 4.053 MB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.52e-07/1.011, allocations: 0 / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.011, allocations: 0 / 1.019 GB, free: 1.656 MB / 0.6355 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.0004187/1.011, allocations: 365.7 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.011, allocations: 8.031 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/1.012, allocations: 63.92 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/1.012, allocations: 167 kB / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.012, allocations: 7.984 kB / 1.02 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/1.012, allocations: 7.938 kB / 1.02 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.929e-05/1.012, allocations: 12 kB / 1.02 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/1.012, allocations: 57.53 kB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/1.012, allocations: 0 / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/1.012, allocations: 0 / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.012, allocations: 0 / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/1.012, allocations: 150 kB / 1.02 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/1.013, allocations: 48.14 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/1.013, allocations: 24.62 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/1.013, allocations: 8 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.013, allocations: 30.56 kB / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/1.013, allocations: 0 / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.00124/1.014, allocations: 428.3 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/1.014, allocations: 51.41 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/1.014, allocations: 90.03 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/1.014, allocations: 25.7 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/1.014, allocations: 80.14 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/1.014, allocations: 26.77 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/1.014, allocations: 4 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/1.014, allocations: 314.3 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/1.014, allocations: 15.25 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/1.014, allocations: 11.25 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/1.015, allocations: 67.48 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/1.015, allocations: 0 / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003332/1.015, allocations: 115.8 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.015, allocations: 11.94 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.015, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/1.015, allocations: 4 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/1.015, allocations: 27.97 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/1.015, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/1.015, allocations: 15.11 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.015, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/1.015, allocations: 108.9 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003301/1.016, allocations: 112.4 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/1.016, allocations: 3.906 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004239/1.016, allocations: 142.2 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.016, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.016, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.016, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/1.016, allocations: 149.9 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.016, allocations: 0 / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/1.017, allocations: 31.92 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.017, allocations: 0 / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/1.017, allocations: 7.984 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.017, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.017, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/1.017, allocations: 168.7 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/1.017, allocations: 85.23 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/1.017, allocations: 4.031 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.017, allocations: 11.98 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/1.017, allocations: 11.97 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/1.017, allocations: 64 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.938e-05/1.017, allocations: 86.78 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.017, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000246/1.018, allocations: 39.94 kB / 1.022 GB, free: 14.3 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007956/1.018, allocations: 0.7374 MB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001135/1.019, allocations: 35 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.019, allocations: 0 / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/1.019, allocations: 27.73 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/1.019, allocations: 0 / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/1.019, allocations: 174.9 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/1.02, allocations: 0.6807 MB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001194/1.02, allocations: 23.98 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/1.02, allocations: 11.44 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.903e-06/1.02, allocations: 0 / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/1.039, allocations: 1.495 MB / 1.025 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/1.039, allocations: 163.3 kB / 1.025 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/2.398, allocations: 0 / 1.025 GB, free: 10.9 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)