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.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 191.9 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008519/0.0008519, allocations: 94.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 14.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2703, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.5032, allocations: 132.5 MB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5036, allocations: 79.95 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01269/0.5163, allocations: 4.079 MB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5163, allocations: 0 / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5163, allocations: 0 / 1.034 GB, free: 7.047 MB / 0.6823 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.000489/0.5168, allocations: 383.1 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5169, allocations: 8.031 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.5169, allocations: 34.5 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.5173, allocations: 67.92 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.5174, allocations: 167 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5175, allocations: 0 / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.5175, allocations: 0 / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.5178, allocations: 85.62 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.5178, allocations: 0 / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.5178, allocations: 0 / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5178, allocations: 3.984 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.5181, allocations: 83.92 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.5183, allocations: 173.6 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.5191, allocations: 142.5 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.5191, allocations: 4 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5191, allocations: 34.56 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5191, allocations: 0 / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.001172/0.5203, allocations: 434.2 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.5204, allocations: 51.41 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.5205, allocations: 101 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5205, allocations: 25.7 kB / 1.035 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.5205, allocations: 80.14 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.5206, allocations: 23.66 kB / 1.035 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.5206, allocations: 0 / 1.035 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5207, allocations: 318.7 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.5209, allocations: 52.02 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.521, allocations: 43.97 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.5212, allocations: 44.16 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.5212, allocations: 0 / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003788/0.5216, allocations: 129.6 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5216, allocations: 6.188 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5216, allocations: 0 / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5216, allocations: 0 / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5218, allocations: 23.98 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5218, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.5219, allocations: 23.97 kB / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.5219, allocations: 0 / 1.036 GB, free: 4.293 MB / 0.6823 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 9.857e-05/0.522, allocations: 121.7 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.5221, allocations: 0 / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.5225, allocations: 145.2 kB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5225, allocations: 0 / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5225, allocations: 0 / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5225, allocations: 4 kB / 1.036 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.5227, allocations: 169.6 kB / 1.036 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5227, allocations: 0 / 1.036 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.5229, allocations: 31.92 kB / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5229, allocations: 0 / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.5229, allocations: 3.984 kB / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5229, allocations: 7.938 kB / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5229, allocations: 0 / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.5235, allocations: 204.9 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.5236, allocations: 85.05 kB / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.5236, allocations: 4.219 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5237, allocations: 20.05 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.5238, allocations: 7.984 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.5238, allocations: 8 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.5238, allocations: 75.28 kB / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5238, allocations: 0 / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002692/0.5241, allocations: 39.92 kB / 1.037 GB, free: 3.281 MB / 0.6823 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.0009633/0.5251, allocations: 0.788 MB / 1.038 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.5254, allocations: 95.98 kB / 1.038 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5254, allocations: 0 / 1.038 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.5256, allocations: 59.89 kB / 1.038 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.5257, allocations: 7.875 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.5271, allocations: 0.5748 MB / 1.038 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.5273, allocations: 0.6809 MB / 1.039 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.5275, allocations: 20.06 kB / 1.039 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.5275, allocations: 15.44 kB / 1.039 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.5275, allocations: 0 / 1.039 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.5402, allocations: 1.799 MB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.5404, allocations: 209.9 kB / 1.041 GB, free: 15.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.049, allocations: 0 / 1.041 GB, free: 15.07 MB / 0.698 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)