Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 180.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 81.91 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.937e-05/5.919e-05, allocations: 12 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8195, allocations: 115.3 MB / 0.9645 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/1.034, allocations: 138.8 MB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/1.035, allocations: 90.38 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0228/1.058, allocations: 5.44 MB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.983e-06/1.058, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.058, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000718/1.058, allocations: 394.2 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/1.058, allocations: 12.03 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/1.059, allocations: 64.97 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/1.059, allocations: 176.6 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/1.059, allocations: 3.938 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/1.059, allocations: 11.89 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001601/1.059, allocations: 36 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/1.06, allocations: 65.66 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.06, allocations: 0 / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/1.06, allocations: 0 / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.06, allocations: 4 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/1.061, allocations: 321.1 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/1.061, allocations: 66.56 kB / 1.107 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/1.061, allocations: 24.84 kB / 1.107 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/1.061, allocations: 4 kB / 1.107 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.061, allocations: 40.19 kB / 1.107 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/1.061, allocations: 0 / 1.107 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.01803/1.079, allocations: 2.105 MB / 1.109 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.079, allocations: 55.41 kB / 1.109 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.079, allocations: 89 kB / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/1.079, allocations: 25.7 kB / 1.109 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/1.079, allocations: 95.97 kB / 1.109 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/1.079, allocations: 31.47 kB / 1.109 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/1.079, allocations: 0 / 1.109 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.08, allocations: 327.5 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/1.08, allocations: 111.9 kB / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/1.08, allocations: 111.9 kB / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/1.081, allocations: 132.4 kB / 1.11 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.081, allocations: 0 / 1.11 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001074/1.082, allocations: 326.1 kB / 1.11 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.082, allocations: 12 kB / 1.11 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.082, allocations: 3.469 kB / 1.11 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.082, allocations: 0 / 1.11 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.083, allocations: 115.8 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.083, allocations: 3.953 kB / 1.11 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/1.084, allocations: 55.94 kB / 1.11 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/1.084, allocations: 30.03 kB / 1.11 GB, free: 6.434 MB / 0.7136 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 (13): * Single equations (assignments): 13 * 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 0.0001779/1.084, allocations: 107.3 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001057/1.085, allocations: 333.2 kB / 1.111 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/1.085, allocations: 3.906 kB / 1.111 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/1.085, allocations: 16.36 kB / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.086, allocations: 0 / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.086, allocations: 0 / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.086, allocations: 4.172 kB / 1.111 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/1.087, allocations: 0.8823 MB / 1.111 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.087, allocations: 3.953 kB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.089, allocations: 115.8 kB / 1.112 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/1.089, allocations: 11.98 kB / 1.112 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/1.089, allocations: 23.94 kB / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.089, allocations: 0 / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.089, allocations: 0 / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/1.09, allocations: 0.5792 MB / 1.112 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/1.09, allocations: 117 kB / 1.112 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/1.091, allocations: 4.062 kB / 1.112 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/1.092, allocations: 59.94 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.092, allocations: 27.86 kB / 1.112 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/1.092, allocations: 31.92 kB / 1.112 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.775e-05/1.092, allocations: 75.28 kB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/1.092, allocations: 4 kB / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005827/1.092, allocations: 51.94 kB / 1.112 GB, free: 3.859 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001998/1.094, allocations: 1.134 MB / 1.114 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007413/1.095, allocations: 263.7 kB / 1.114 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.095, allocations: 0 / 1.114 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/1.096, allocations: 143.8 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/1.096, allocations: 9.406 kB / 1.114 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/1.101, allocations: 0.7299 MB / 1.115 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/1.102, allocations: 0.6924 MB / 1.115 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001065/1.103, allocations: 96.66 kB / 1.115 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.103, allocations: 63.3 kB / 1.116 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.103, allocations: 0 / 1.116 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/1.13, allocations: 3.755 MB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/1.13, allocations: 179.7 kB / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.693, allocations: 4 kB / 1.119 GB, free: 12.73 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)