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.752/2.752, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001548/0.001548, allocations: 185.9 kB / 370.8 MB, free: 10.84 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.135/2.135, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001176/0.001176, allocations: 89.17 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006495, allocations: 18.02 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.228, allocations: 138.6 MB / 1.114 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.228, allocations: 76.84 kB / 1.114 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02064/1.249, allocations: 4.073 MB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.946e-06/1.249, allocations: 4 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.614e-05/1.249, allocations: 3.719 kB / 1.118 GB, free: 30.84 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.0006535/1.249, allocations: 370.5 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.25, allocations: 11.8 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/1.25, allocations: 33.81 kB / 1.118 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/1.25, allocations: 65.02 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/1.25, allocations: 174 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/1.25, allocations: 3.938 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/1.25, allocations: 11.83 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/1.251, allocations: 75.2 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.251, allocations: 0 / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.251, allocations: 3.875 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/1.251, allocations: 6.766 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/1.251, allocations: 79.25 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/1.252, allocations: 168.4 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/1.253, allocations: 139.5 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/1.253, allocations: 8.859 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/1.253, allocations: 30.56 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.986e-06/1.253, allocations: 3.938 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001916/1.255, allocations: 441.2 kB / 1.119 GB, free: 29.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.255, allocations: 57.59 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/1.255, allocations: 92.75 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/1.255, allocations: 25.7 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/1.255, allocations: 80.14 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/1.255, allocations: 21.62 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/1.255, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.255, allocations: 314.8 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/1.256, allocations: 43.77 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/1.256, allocations: 45.77 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/1.256, allocations: 39.42 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/1.256, allocations: 4 kB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000631/1.257, allocations: 125.4 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.257, allocations: 3.875 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.257, allocations: 0 / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.257, allocations: 0 / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/1.257, allocations: 29.8 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.257, allocations: 0 / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/1.257, allocations: 21.97 kB / 1.12 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/1.257, allocations: 3.812 kB / 1.12 GB, free: 28.97 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.000116/1.257, allocations: 113.2 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.257, allocations: 7.75 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/1.258, allocations: 147 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.258, allocations: 1.312 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.258, allocations: 2.953 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.258, allocations: 4 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/1.259, allocations: 166.8 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.259, allocations: 1.562 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/1.259, allocations: 35.47 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/1.259, allocations: 0 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/1.259, allocations: 3.422 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.259, allocations: 0 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.259, allocations: 0 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009341/1.26, allocations: 201.2 kB / 1.121 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/1.26, allocations: 95.11 kB / 1.121 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/1.26, allocations: 0 / 1.121 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/1.26, allocations: 22.42 kB / 1.121 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/1.26, allocations: 3.812 kB / 1.121 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.26, allocations: 3.562 kB / 1.121 GB, free: 28.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.466e-05/1.26, allocations: 79.16 kB / 1.121 GB, free: 28.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.213e-06/1.26, allocations: 4.094 kB / 1.121 GB, free: 28.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003408/1.261, allocations: 41.89 kB / 1.121 GB, free: 28.33 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.001473/1.262, allocations: 0.7812 MB / 1.122 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006242/1.263, allocations: 98.59 kB / 1.122 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.263, allocations: 0 / 1.122 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/1.263, allocations: 52.83 kB / 1.122 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/1.263, allocations: 0 / 1.122 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/1.265, allocations: 0.5787 MB / 1.123 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/1.266, allocations: 0.6899 MB / 1.123 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.266, allocations: 18.58 kB / 1.123 GB, free: 26.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/1.266, allocations: 14.66 kB / 1.123 GB, free: 26.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.266, allocations: 0 / 1.123 GB, free: 26.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/1.286, allocations: 1.802 MB / 1.125 GB, free: 26.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.287, allocations: 196.6 kB / 1.125 GB, free: 26.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.732, allocations: 1.75 kB / 1.125 GB, free: 26.2 MB / 0.698 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)