Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.577/2.577, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001491/0.001491, allocations: 180.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.153/2.153, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001055/0.001055, allocations: 91.38 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.547e-05/4.563e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.8748, allocations: 115.3 MB / 0.9634 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2524/1.127, allocations: 138.6 MB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.128, allocations: 80.64 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02882/1.156, allocations: 5.443 MB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/1.156, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.827e-06/1.157, allocations: 0 / 1.104 GB, free: 12.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007316/1.157, allocations: 398.2 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.157, allocations: 8.031 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/1.158, allocations: 69.12 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/1.158, allocations: 170.9 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/1.158, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/1.158, allocations: 11.84 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001707/1.158, allocations: 35.98 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/1.159, allocations: 66.78 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.159, allocations: 4 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/1.159, allocations: 5.312 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.159, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/1.159, allocations: 321.1 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/1.16, allocations: 66.56 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/1.16, allocations: 20.86 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/1.16, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.16, allocations: 38.5 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.345e-06/1.16, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.02639/1.186, allocations: 2.107 MB / 1.107 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/1.186, allocations: 51.41 kB / 1.107 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/1.186, allocations: 94.48 kB / 1.108 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/1.187, allocations: 29.64 kB / 1.108 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/1.187, allocations: 99.98 kB / 1.108 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.187, allocations: 35.45 kB / 1.108 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/1.187, allocations: 0 / 1.108 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.187, allocations: 314.8 kB / 1.108 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/1.187, allocations: 111.9 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/1.188, allocations: 107.9 kB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/1.188, allocations: 133.2 kB / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.188, allocations: 0 / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001296/1.19, allocations: 333.4 kB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.19, allocations: 4 kB / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.19, allocations: 0 / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.19, allocations: 3.953 kB / 1.109 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.191, allocations: 123.7 kB / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.192, allocations: 4 kB / 1.109 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.193, allocations: 59.5 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.193, allocations: 19.94 kB / 1.109 GB, free: 7.309 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 (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.0002146/1.193, allocations: 115.3 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001355/1.195, allocations: 329.2 kB / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/1.195, allocations: 11.86 kB / 1.109 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/1.195, allocations: 8.406 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.195, allocations: 0 / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.195, allocations: 1.688 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.195, allocations: 0 / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.197, allocations: 0.8966 MB / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.197, allocations: 0 / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.199, allocations: 115.8 kB / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.199, allocations: 0 / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/1.199, allocations: 27.92 kB / 1.11 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.199, allocations: 0 / 1.11 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.199, allocations: 0 / 1.11 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.201, allocations: 0.5812 MB / 1.111 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/1.202, allocations: 113 kB / 1.111 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.202, allocations: 7.047 kB / 1.111 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.203, allocations: 60 kB / 1.111 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.203, allocations: 27.86 kB / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.529e-05/1.203, allocations: 27.94 kB / 1.111 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.514e-05/1.203, allocations: 79.28 kB / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.203, allocations: 0 / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000651/1.204, allocations: 55.94 kB / 1.111 GB, free: 4.73 MB / 0.7136 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.002397/1.206, allocations: 1.127 MB / 1.112 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009569/1.207, allocations: 263.7 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/1.207, allocations: 0 / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/1.208, allocations: 143.8 kB / 1.113 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/1.208, allocations: 12.06 kB / 1.113 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/1.216, allocations: 0.7212 MB / 1.113 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/1.216, allocations: 0.7041 MB / 1.114 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001208/1.218, allocations: 90.36 kB / 1.114 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/1.218, allocations: 63.3 kB / 1.114 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of SimCode: time 1.373e-06/1.218, allocations: 0 / 1.114 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/1.26, allocations: 3.759 MB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.261, allocations: 163.3 kB / 1.118 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.883, allocations: 0 / 1.118 GB, free: 13.62 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)