Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.485/1.485, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 174.2 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0008578/0.000858, allocations: 87.09 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.405e-05, allocations: 12 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2341, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8721/1.106, allocations: 133.2 MB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.107, allocations: 86.62 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01785/1.125, allocations: 5.456 MB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.715e-06/1.125, allocations: 0 / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.125, allocations: 4 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005622/1.125, allocations: 393.7 kB / 1.028 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/1.125, allocations: 12.03 kB / 1.028 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/1.125, allocations: 33.94 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/1.126, allocations: 71.83 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/1.126, allocations: 171 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/1.126, allocations: 7.312 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/1.126, allocations: 8 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/1.126, allocations: 79.97 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.126, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/1.126, allocations: 7.438 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.126, allocations: 0 / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/1.126, allocations: 38.67 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/1.127, allocations: 343.2 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/1.127, allocations: 67.88 kB / 1.029 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/1.127, allocations: 27.16 kB / 1.029 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/1.127, allocations: 12.08 kB / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.127, allocations: 42.06 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.127, allocations: 0 / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.01347/1.141, allocations: 2.099 MB / 1.031 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.141, allocations: 55.41 kB / 1.031 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/1.141, allocations: 92.75 kB / 1.031 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/1.141, allocations: 33.64 kB / 1.031 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/1.141, allocations: 96 kB / 1.031 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/1.141, allocations: 38.73 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/1.141, allocations: 3.562 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.141, allocations: 318.8 kB / 1.031 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/1.142, allocations: 112.9 kB / 1.031 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/1.142, allocations: 120 kB / 1.031 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/1.142, allocations: 118.7 kB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.142, allocations: 0 / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007454/1.143, allocations: 324.5 kB / 1.032 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.462e-05/1.143, allocations: 9.516 kB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.143, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.143, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/1.144, allocations: 115.8 kB / 1.032 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.144, allocations: 4 kB / 1.032 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/1.145, allocations: 63.5 kB / 1.032 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/1.145, allocations: 19.94 kB / 1.032 GB, free: 8.172 MB / 0.6511 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 (13): * Single equations (assignments): 13 * 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.0001718/1.145, allocations: 108.9 kB / 1.032 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/1.145, allocations: 11.89 kB / 1.032 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/1.145, allocations: 19.23 kB / 1.032 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.145, allocations: 192 / 1.032 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.145, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.145, allocations: 7.984 kB / 1.032 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/1.147, allocations: 0.9015 MB / 1.033 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.147, allocations: 0 / 1.033 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/1.148, allocations: 119.2 kB / 1.033 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/1.148, allocations: 4 kB / 1.033 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/1.148, allocations: 23.92 kB / 1.033 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.148, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.148, allocations: 4.547 kB / 1.033 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/1.149, allocations: 0.5708 MB / 1.034 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.149, allocations: 116.2 kB / 1.034 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/1.149, allocations: 3.531 kB / 1.034 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/1.15, allocations: 63.94 kB / 1.034 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/1.15, allocations: 23.92 kB / 1.034 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/1.15, allocations: 27.25 kB / 1.034 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.33e-05/1.15, allocations: 79.28 kB / 1.034 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/1.15, allocations: 4 kB / 1.034 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003965/1.15, allocations: 59.25 kB / 1.034 GB, free: 6.168 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001701/1.152, allocations: 1.129 MB / 1.035 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006251/1.153, allocations: 270.9 kB / 1.036 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.153, allocations: 0 / 1.036 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/1.153, allocations: 153.9 kB / 1.036 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.153, allocations: 0.6562 kB / 1.036 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/1.157, allocations: 0.7446 MB / 1.036 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/1.158, allocations: 0.6926 MB / 1.037 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006606/1.158, allocations: 92.66 kB / 1.037 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/1.159, allocations: 64.92 kB / 1.037 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of SimCode: time 1.223e-06/1.159, allocations: 0 / 1.037 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/1.176, allocations: 4.155 MB / 1.041 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.176, allocations: 178.3 kB / 1.041 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.886, allocations: 1.719 kB / 1.041 GB, free: 15.01 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)