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.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.945 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.0009659/0.0009659, allocations: 176.9 kB / 316.3 MB, free: 3.242 MB / 250.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.3 MB / 0.5671 GB, free: 15.88 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.0008632/0.000863, allocations: 90.83 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.57e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2358, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7993/1.035, allocations: 133.5 MB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.035, allocations: 86.92 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01603/1.051, allocations: 5.434 MB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.994e-06/1.052, allocations: 0 / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.504e-05/1.052, allocations: 4 kB / 1.021 GB, free: 15.41 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.0005349/1.052, allocations: 390.3 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.052, allocations: 11.97 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/1.053, allocations: 71.83 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/1.053, allocations: 178.8 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/1.053, allocations: 4 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/1.053, allocations: 4 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001154/1.053, allocations: 38.73 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.053, allocations: 69.45 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.053, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.053, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.053, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/1.054, allocations: 319.9 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/1.054, allocations: 65.94 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/1.054, allocations: 20.67 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/1.054, allocations: 12 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.054, allocations: 34.56 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.054, allocations: 3.938 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.01267/1.067, allocations: 2.101 MB / 1.024 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/1.067, allocations: 51.41 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/1.067, allocations: 89 kB / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/1.067, allocations: 25.7 kB / 1.024 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/1.067, allocations: 99.88 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/1.067, allocations: 34.94 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/1.067, allocations: 0 / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.067, allocations: 322.6 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/1.067, allocations: 118.2 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/1.068, allocations: 116.4 kB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/1.068, allocations: 122.3 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.068, allocations: 4 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006628/1.069, allocations: 330 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.069, allocations: 6.188 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.069, allocations: 4 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.069, allocations: 3.953 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/1.069, allocations: 119.8 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.069, allocations: 3.938 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/1.07, allocations: 59.94 kB / 1.026 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/1.07, allocations: 31.73 kB / 1.026 GB, free: 10.77 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.0001463/1.07, allocations: 101.6 kB / 1.026 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007029/1.071, allocations: 320.7 kB / 1.026 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/1.071, allocations: 11.98 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/1.071, allocations: 15.97 kB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.071, allocations: 0 / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.071, allocations: 4 kB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.071, allocations: 3.984 kB / 1.026 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/1.072, allocations: 0.8922 MB / 1.027 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/1.072, allocations: 0 / 1.027 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/1.073, allocations: 115.8 kB / 1.027 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.073, allocations: 0 / 1.027 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/1.073, allocations: 23.94 kB / 1.027 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.073, allocations: 4 kB / 1.027 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.073, allocations: 3.938 kB / 1.027 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/1.074, allocations: 0.5666 MB / 1.028 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.074, allocations: 126.6 kB / 1.028 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/1.074, allocations: 0 / 1.028 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/1.075, allocations: 56.19 kB / 1.028 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/1.075, allocations: 31.92 kB / 1.028 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/1.075, allocations: 27.86 kB / 1.028 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.512e-05/1.075, allocations: 83.27 kB / 1.028 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.075, allocations: 0 / 1.028 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003692/1.076, allocations: 55.94 kB / 1.028 GB, free: 8.535 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.001326/1.077, allocations: 1.137 MB / 1.029 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004922/1.078, allocations: 262.9 kB / 1.029 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.078, allocations: 0 / 1.029 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/1.078, allocations: 145.5 kB / 1.03 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/1.078, allocations: 7.984 kB / 1.03 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/1.082, allocations: 0.7233 MB / 1.03 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/1.082, allocations: 0.6924 MB / 1.031 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006635/1.083, allocations: 92.66 kB / 1.031 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/1.083, allocations: 65.48 kB / 1.031 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/1.083, allocations: 0 / 1.031 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/1.106, allocations: 3.77 MB / 1.035 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.106, allocations: 175.9 kB / 1.035 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.608, allocations: 0 / 1.035 GB, free: 1.68 MB / 0.6511 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)