Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001445/0.001444, allocations: 179.8 kB / 361.4 MB, free: 6.82 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.695/1.695, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008473/0.0008476, allocations: 90.36 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.738e-05, allocations: 8 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7692, allocations: 115.3 MB / 0.9645 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/0.9792, allocations: 138 MB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.9796, allocations: 77.31 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01716/0.9967, allocations: 4.054 MB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9968, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.9968, allocations: 0 / 1.103 GB, free: 13.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005882/0.9974, allocations: 360.1 kB / 1.104 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.9975, allocations: 12.03 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005988/0.9981, allocations: 72.89 kB / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.9983, allocations: 167 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.9984, allocations: 4 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.9984, allocations: 10.72 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.963e-05/0.9985, allocations: 15.94 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.9986, allocations: 53.66 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9986, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.9987, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.9987, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.9989, allocations: 146.3 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.9993, allocations: 50.59 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.9994, allocations: 24.92 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.9994, allocations: 8 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.9995, allocations: 34.56 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 4.318e-06/0.9995, allocations: 0 / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.00179/1.001, allocations: 426.1 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.001, allocations: 51.41 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/1.001, allocations: 93 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/1.001, allocations: 25.7 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/1.002, allocations: 80.14 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/1.002, allocations: 23.73 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/1.002, allocations: 3.938 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.002, allocations: 310.8 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/1.002, allocations: 14.91 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/1.002, allocations: 12 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/1.002, allocations: 64.05 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.002, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005767/1.003, allocations: 121.6 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.003, allocations: 8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.003, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.003, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/1.003, allocations: 29.78 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.003, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/1.004, allocations: 15.98 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/1.004, allocations: 7.938 kB / 1.105 GB, free: 11.24 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 (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 0.0001162/1.004, allocations: 104.9 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004455/1.004, allocations: 121.5 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/1.004, allocations: 0 / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/1.005, allocations: 137.8 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.005, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.005, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.005, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/1.005, allocations: 149 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.005, allocations: 7.891 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/1.005, allocations: 27.98 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.005, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.005, allocations: 7.984 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.005, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.005, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/1.006, allocations: 168.1 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.006, allocations: 88.95 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/1.006, allocations: 4.031 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/1.007, allocations: 16.05 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/1.007, allocations: 7.984 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/1.007, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.865e-05/1.007, allocations: 79.28 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.007, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002748/1.007, allocations: 39.94 kB / 1.106 GB, free: 10.21 MB / 0.7136 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.001181/1.008, allocations: 0.7452 MB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001883/1.008, allocations: 35.94 kB / 1.107 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.008, allocations: 4.062 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/1.008, allocations: 23.98 kB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/1.009, allocations: 3.125 kB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/1.01, allocations: 177.9 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.01, allocations: 0.6807 MB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001166/1.01, allocations: 19.98 kB / 1.108 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/1.01, allocations: 15.44 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/1.01, allocations: 1.219 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/1.042, allocations: 1.481 MB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/1.042, allocations: 174.6 kB / 1.11 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.584, allocations: 0 / 1.11 GB, free: 6.785 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)