Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.5 MB / 307.5 MB, free: 5.141 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.002055/0.002055, allocations: 177.1 kB / 377.1 MB, free: 1.496 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.925/1.925, allocations: 205.4 MB / 0.6366 GB, free: 9.453 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.0009837/0.0009838, allocations: 83.89 kB / 0.7509 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.00036, allocations: 12 kB / 0.8749 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2706, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7722/1.043, allocations: 139.7 MB / 1.125 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.043, allocations: 81.83 kB / 1.125 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01164/1.055, allocations: 4.092 MB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.184e-06/1.055, allocations: 0 / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.055, allocations: 0 / 1.129 GB, free: 31.97 MB / 0.7292 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.0003555/1.055, allocations: 371 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.055, allocations: 12.02 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/1.055, allocations: 34.56 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/1.056, allocations: 64.38 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/1.056, allocations: 174.3 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.056, allocations: 4 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.056, allocations: 9.141 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/1.056, allocations: 79.09 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.056, allocations: 0 / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/1.056, allocations: 0 / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.056, allocations: 6.344 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/1.056, allocations: 77.3 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/1.057, allocations: 168.6 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/1.057, allocations: 147.1 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/1.057, allocations: 4 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/1.057, allocations: 30.56 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.057, allocations: 0 / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001082/1.058, allocations: 441.1 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.058, allocations: 51.41 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.948e-05/1.058, allocations: 101 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/1.058, allocations: 25.7 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.639e-05/1.058, allocations: 80.14 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/1.058, allocations: 11.75 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.058, allocations: 4 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/1.059, allocations: 314.8 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/1.059, allocations: 47.09 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/1.059, allocations: 42.41 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/1.059, allocations: 39.39 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.059, allocations: 7.891 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003195/1.059, allocations: 126.9 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.059, allocations: 7.516 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.059, allocations: 0.6562 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.059, allocations: 4 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/1.06, allocations: 20.17 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/1.06, allocations: 7.609 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/1.06, allocations: 15.42 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/1.06, allocations: 4 kB / 1.131 GB, free: 29.45 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/1.06, allocations: 109.8 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/1.06, allocations: 12.7 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/1.06, allocations: 149.9 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.06, allocations: 5.766 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.06, allocations: 0 / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.06, allocations: 0.9375 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/1.06, allocations: 169.7 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.06, allocations: 11.95 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/1.06, allocations: 22.94 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.06, allocations: 4 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.06, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/1.061, allocations: 0.9375 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.061, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/1.061, allocations: 204.8 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/1.061, allocations: 92.61 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/1.061, allocations: 1.156 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/1.061, allocations: 19.53 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/1.061, allocations: 7.516 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/1.061, allocations: 0.75 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.454e-05/1.061, allocations: 83.28 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 0 / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002567/1.062, allocations: 39.55 kB / 1.132 GB, free: 28.52 MB / 0.7292 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 (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.0007526/1.062, allocations: 0.7796 MB / 1.133 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003321/1.063, allocations: 93.86 kB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.063, allocations: 0 / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.063, allocations: 58.34 kB / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/1.063, allocations: 4.656 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.064, allocations: 0.5783 MB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/1.064, allocations: 0.6839 MB / 1.134 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000111/1.064, allocations: 21.84 kB / 1.134 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/1.064, allocations: 11.44 kB / 1.134 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/1.064, allocations: 0 / 1.134 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/1.079, allocations: 1.787 MB / 1.136 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.08, allocations: 203.6 kB / 1.136 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.702, allocations: 0 / 1.136 GB, free: 25.15 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)