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.588/1.588, allocations: 285.4 MB / 298 MB, free: 5.965 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.001228/0.001228, allocations: 184.8 kB / 366.4 MB, free: 2.078 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.771/1.771, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.000977/0.0009771, allocations: 88.5 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.672e-05/5.688e-05, allocations: 11.98 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.7846, allocations: 115.3 MB / 0.971 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.9872, allocations: 138.7 MB / 1.106 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.9874, allocations: 75.95 kB / 1.107 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01262/1, allocations: 4.069 MB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/1, allocations: 0 / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.246e-06/1, allocations: 0 / 1.111 GB, free: 8.887 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.0005231/1.001, allocations: 366.4 kB / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/1.001, allocations: 8.031 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/1.001, allocations: 34.5 kB / 1.111 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/1.001, allocations: 63.92 kB / 1.111 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.001, allocations: 178.9 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/1.001, allocations: 0 / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/1.001, allocations: 7.906 kB / 1.111 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/1.002, allocations: 53.66 kB / 1.111 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/1.002, allocations: 0 / 1.111 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/1.002, allocations: 0 / 1.111 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.002, allocations: 4 kB / 1.111 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/1.002, allocations: 16 kB / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/1.002, allocations: 171.2 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/1.002, allocations: 54.61 kB / 1.111 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/1.002, allocations: 28.84 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/1.003, allocations: 7.984 kB / 1.111 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.003, allocations: 38.64 kB / 1.111 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/1.003, allocations: 0 / 1.111 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0007312/1.003, allocations: 282.3 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.003, allocations: 51.41 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/1.003, allocations: 93 kB / 1.112 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.003, allocations: 25.7 kB / 1.112 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/1.004, allocations: 80.14 kB / 1.112 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/1.004, allocations: 15.75 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/1.004, allocations: 4 kB / 1.112 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.004, allocations: 321 kB / 1.112 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/1.004, allocations: 12 kB / 1.112 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/1.004, allocations: 12 kB / 1.112 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/1.004, allocations: 17.14 kB / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.004, allocations: 0 / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001432/1.004, allocations: 69.62 kB / 1.112 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.004, allocations: 4 kB / 1.112 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.004, allocations: 3.984 kB / 1.112 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.004, allocations: 0 / 1.112 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/1.004, allocations: 27.98 kB / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.004, allocations: 0 / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/1.004, allocations: 22.8 kB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.004, allocations: 8 kB / 1.112 GB, free: 6.59 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 8.545e-05/1.004, allocations: 114 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/1.005, allocations: 3.906 kB / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/1.005, allocations: 93.16 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.005, allocations: 0 / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.005, allocations: 1.406 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/1.005, allocations: 4 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/1.005, allocations: 165.6 kB / 1.113 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.005, allocations: 0 / 1.113 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/1.005, allocations: 27.98 kB / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.005, allocations: 0 / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/1.005, allocations: 7.984 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.005, allocations: 4 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.005, allocations: 0 / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/1.005, allocations: 113.1 kB / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/1.006, allocations: 85.08 kB / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/1.006, allocations: 7.312 kB / 1.113 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.006, allocations: 28.03 kB / 1.113 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/1.006, allocations: 0 / 1.113 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/1.006, allocations: 4 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.964e-05/1.006, allocations: 78.19 kB / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/1.006, allocations: 0 / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002697/1.006, allocations: 39.92 kB / 1.113 GB, free: 5.738 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.0006765/1.007, allocations: 0.7022 MB / 1.114 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001371/1.007, allocations: 36 kB / 1.114 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.007, allocations: 0 / 1.114 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/1.007, allocations: 23.94 kB / 1.114 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/1.007, allocations: 10.83 kB / 1.114 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/1.008, allocations: 180.5 kB / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.008, allocations: 0.6809 MB / 1.115 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001152/1.008, allocations: 16 kB / 1.115 GB, free: 4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/1.008, allocations: 23.42 kB / 1.115 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.008, allocations: 0 / 1.115 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/1.022, allocations: 1.812 MB / 1.117 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.022, allocations: 177.2 kB / 1.117 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.601, allocations: 0 / 1.117 GB, free: 2.145 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)