Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.539/2.539, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001483/0.001483, allocations: 176.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001095/0.001094, allocations: 108.3 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.642e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8563, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/1.096, allocations: 137.9 MB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000476/1.096, allocations: 79.94 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03411/1.13, allocations: 4.045 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.364e-06/1.13, allocations: 4 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.13, allocations: 0 / 1.102 GB, free: 14.49 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.000761/1.131, allocations: 366.4 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.235e-05/1.131, allocations: 16.02 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/1.132, allocations: 61.14 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.133, allocations: 170.9 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/1.133, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/1.133, allocations: 14.22 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001733/1.133, allocations: 15.98 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/1.133, allocations: 57.59 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.133, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/1.133, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/1.133, allocations: 4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/1.134, allocations: 138.2 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/1.134, allocations: 54.67 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/1.134, allocations: 20.86 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/1.134, allocations: 6.438 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/1.134, allocations: 42.64 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/1.134, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.002011/1.136, allocations: 426.1 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/1.136, allocations: 51.41 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/1.137, allocations: 89 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/1.137, allocations: 25.7 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/1.137, allocations: 80.14 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/1.137, allocations: 15.75 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/1.137, allocations: 4.125 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.137, allocations: 318.8 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/1.137, allocations: 15.94 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/1.137, allocations: 12 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/1.137, allocations: 59.92 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.137, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006341/1.138, allocations: 121.1 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.138, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.138, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.138, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/1.138, allocations: 23.98 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.138, allocations: 4 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/1.139, allocations: 15.97 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/1.139, allocations: 4 kB / 1.104 GB, free: 12.06 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.0001067/1.139, allocations: 116.6 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006182/1.139, allocations: 117.5 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/1.139, allocations: 192 / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/1.14, allocations: 143.9 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.14, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.14, allocations: 3.984 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.14, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/1.14, allocations: 142.2 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.14, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/1.141, allocations: 31.91 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.141, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.141, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.141, allocations: 7.047 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.141, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/1.142, allocations: 162.5 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/1.142, allocations: 92.98 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/1.142, allocations: 3.984 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/1.142, allocations: 15.98 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/1.142, allocations: 4 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/1.142, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.755e-05/1.142, allocations: 83.34 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.142, allocations: 1.781 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003613/1.143, allocations: 39.92 kB / 1.105 GB, free: 11.02 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.001247/1.144, allocations: 0.7402 MB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001975/1.144, allocations: 32 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.144, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/1.144, allocations: 23.94 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/1.144, allocations: 1.719 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/1.145, allocations: 183.5 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.146, allocations: 0.6807 MB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001967/1.146, allocations: 17.5 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/1.146, allocations: 23.42 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.146, allocations: 0 / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/1.181, allocations: 1.468 MB / 1.108 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/1.182, allocations: 162.2 kB / 1.108 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.662, allocations: 0 / 1.108 GB, free: 7.617 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)