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.73/1.73, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.00122/0.00122, allocations: 178.2 kB / 371.8 MB, free: 10.25 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.96/1.96, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000982/0.0009819, allocations: 95.47 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 12.62 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2692, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8758/1.145, allocations: 138.8 MB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.145, allocations: 84.25 kB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02085/1.166, allocations: 4.078 MB / 1.119 GB, free: 31.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/1.166, allocations: 0 / 1.119 GB, free: 31.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.859e-06/1.166, allocations: 0 / 1.119 GB, free: 31.9 MB / 0.698 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.0006192/1.167, allocations: 370.2 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.167, allocations: 15.59 kB / 1.119 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/1.167, allocations: 37.36 kB / 1.119 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/1.168, allocations: 64.78 kB / 1.12 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/1.168, allocations: 170.9 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/1.168, allocations: 7.406 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/1.168, allocations: 0 / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/1.168, allocations: 83.58 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.168, allocations: 0 / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/1.169, allocations: 0 / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.169, allocations: 0 / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/1.169, allocations: 75.17 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/1.169, allocations: 177.3 kB / 1.12 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/1.17, allocations: 141.1 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/1.17, allocations: 3.844 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/1.17, allocations: 38.25 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/1.17, allocations: 0 / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001807/1.172, allocations: 436.8 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.172, allocations: 55.28 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/1.172, allocations: 88.05 kB / 1.121 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/1.172, allocations: 29.58 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/1.172, allocations: 80.14 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/1.173, allocations: 15.75 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/1.173, allocations: 7.25 kB / 1.121 GB, free: 30.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.173, allocations: 317.7 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/1.173, allocations: 44.08 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.173, allocations: 48.28 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/1.173, allocations: 43.62 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.173, allocations: 3.953 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005433/1.174, allocations: 124.8 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.174, allocations: 5.281 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/1.174, allocations: 3.906 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.174, allocations: 0 / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/1.174, allocations: 29.44 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.174, allocations: 0 / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/1.174, allocations: 14.7 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/1.174, allocations: 6.938 kB / 1.122 GB, free: 30.02 MB / 0.698 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 0.0001073/1.175, allocations: 121.7 kB / 1.122 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/1.175, allocations: 7.859 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/1.175, allocations: 148.5 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.175, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.175, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.175, allocations: 0 / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/1.176, allocations: 170 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.176, allocations: 3.953 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/1.176, allocations: 25.52 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.176, allocations: 7.938 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/1.176, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.176, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.176, allocations: 6.406 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/1.177, allocations: 196.1 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.177, allocations: 91.86 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/1.177, allocations: 2.766 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/1.177, allocations: 14.53 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/1.177, allocations: 10.7 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/1.177, allocations: 4.062 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.09e-05/1.177, allocations: 78.47 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.177, allocations: 0 / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004815/1.178, allocations: 38.22 kB / 1.122 GB, free: 29.4 MB / 0.698 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.001401/1.179, allocations: 0.78 MB / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000545/1.18, allocations: 101.8 kB / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.18, allocations: 4 kB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/1.18, allocations: 54.89 kB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/1.18, allocations: 0 / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/1.182, allocations: 0.5826 MB / 1.124 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/1.183, allocations: 0.6825 MB / 1.125 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000209/1.183, allocations: 15.78 kB / 1.125 GB, free: 27.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/1.183, allocations: 18.08 kB / 1.125 GB, free: 27.68 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.183, allocations: 0 / 1.125 GB, free: 27.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/1.2, allocations: 1.804 MB / 1.126 GB, free: 27.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.201, allocations: 210.1 kB / 1.127 GB, free: 27.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.721, allocations: 0 / 1.127 GB, free: 27.27 MB / 0.698 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)