Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.908/1.908, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001233/0.001233, allocations: 183.5 kB / 371.8 MB, free: 10.25 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.027/2.027, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.0009414/0.0009414, allocations: 95.42 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004081, allocations: 13.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7538/0.9732, allocations: 139.6 MB / 1.116 GB, free: 16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.9735, allocations: 84.98 kB / 1.116 GB, free: 16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.9884, allocations: 5.467 MB / 1.121 GB, free: 31.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9884, allocations: 0 / 1.121 GB, free: 31.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.9884, allocations: 3.844 kB / 1.121 GB, free: 31.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005709/0.989, allocations: 406.2 kB / 1.122 GB, free: 30.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9891, allocations: 11.69 kB / 1.122 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.9891, allocations: 37.38 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.9895, allocations: 64.36 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.9896, allocations: 185.4 kB / 1.122 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.9896, allocations: 7.828 kB / 1.122 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.9897, allocations: 6.906 kB / 1.122 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.99, allocations: 119.8 kB / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.9901, allocations: 0 / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.9901, allocations: 3.25 kB / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9901, allocations: 4 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.9905, allocations: 126.7 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.9911, allocations: 343.8 kB / 1.122 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.9917, allocations: 174 kB / 1.123 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.9917, allocations: 3.812 kB / 1.123 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.9918, allocations: 42.25 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.9918, allocations: 0 / 1.123 GB, free: 30.32 MB / 0.698 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01931/1.011, allocations: 3.179 MB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.011, allocations: 55.41 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/1.011, allocations: 95.52 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/1.011, allocations: 29.58 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/1.011, allocations: 90.55 kB / 1.126 GB, free: 29.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/1.011, allocations: 33.88 kB / 1.126 GB, free: 29.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/1.012, allocations: 3.875 kB / 1.126 GB, free: 29.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.012, allocations: 317.8 kB / 1.126 GB, free: 29.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/1.012, allocations: 217.2 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/1.013, allocations: 211.5 kB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/1.014, allocations: 219.2 kB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.014, allocations: 0 / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001507/1.015, allocations: 0.5235 MB / 1.127 GB, free: 29.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.015, allocations: 7.688 kB / 1.128 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.015, allocations: 0 / 1.128 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.015, allocations: 3.953 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/1.016, allocations: 126.3 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/1.016, allocations: 1.016 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/1.017, allocations: 59.44 kB / 1.128 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/1.017, allocations: 22 kB / 1.128 GB, free: 29.03 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 (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.0002214/1.017, allocations: 117.5 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/1.017, allocations: 7.812 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/1.017, allocations: 10.86 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.017, allocations: 7.766 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/1.017, allocations: 96 / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.017, allocations: 3.938 kB / 1.128 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/1.019, allocations: 1.102 MB / 1.129 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.019, allocations: 7.953 kB / 1.129 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/1.02, allocations: 124 kB / 1.129 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.02, allocations: 0 / 1.129 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/1.02, allocations: 24.56 kB / 1.129 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.02, allocations: 0 / 1.129 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.02, allocations: 192 / 1.129 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/1.023, allocations: 0.8658 MB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/1.023, allocations: 128.5 kB / 1.13 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/1.023, allocations: 0 / 1.13 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/1.024, allocations: 62.53 kB / 1.13 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/1.024, allocations: 27.7 kB / 1.13 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/1.024, allocations: 23.83 kB / 1.13 GB, free: 27.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.091e-05/1.024, allocations: 83.03 kB / 1.13 GB, free: 27.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.024, allocations: 4 kB / 1.13 GB, free: 27.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004026/1.024, allocations: 62.09 kB / 1.13 GB, free: 27.71 MB / 0.698 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 () * Number of clocked 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.002409/1.027, allocations: 1.42 MB / 1.132 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001255/1.028, allocations: 474.5 kB / 1.132 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.028, allocations: 0 / 1.132 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/1.028, allocations: 254.9 kB / 1.132 GB, free: 26.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/1.029, allocations: 7.766 kB / 1.132 GB, free: 26.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/1.035, allocations: 1.857 MB / 1.134 GB, free: 25.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/1.035, allocations: 0.6961 MB / 1.135 GB, free: 25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006583/1.036, allocations: 87.42 kB / 1.135 GB, free: 24.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/1.036, allocations: 65.52 kB / 1.135 GB, free: 24.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.036, allocations: 0 / 1.135 GB, free: 24.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/1.05, allocations: 4.168 MB / 1.139 GB, free: 22.81 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/1.051, allocations: 206.4 kB / 1.139 GB, free: 22.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.66, allocations: 5.625 kB / 1.139 GB, free: 22.57 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)