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.66/1.66, allocations: 288.4 MB / 303.6 MB, free: 8.215 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.001106/0.001106, allocations: 179.9 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 0.631 GB, free: 9.867 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.0007561/0.0007562, allocations: 98.22 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004386, allocations: 17.47 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1744, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008624/0.1753, allocations: 0.5011 MB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1768, allocations: 1.449 MB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.1768, allocations: 4 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.1769, allocations: 7.938 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.1769, allocations: 0 / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.1773, allocations: 111.7 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.1774, allocations: 43.91 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.1774, allocations: 8 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.1775, allocations: 27.84 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.1776, allocations: 27.91 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1776, allocations: 4 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.1779, allocations: 307.4 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.178, allocations: 15.92 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.178, allocations: 41.62 kB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1782, allocations: 156 kB / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1782, allocations: 0 / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1782, allocations: 0 / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1783, allocations: 4 kB / 0.9828 GB, free: 24.5 MB / 0.6198 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.0005277/0.1788, allocations: 395.3 kB / 0.9832 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1788, allocations: 8.031 kB / 0.9832 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.1789, allocations: 38.75 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.1793, allocations: 88.75 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.361e-05/0.1794, allocations: 160.4 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.1795, allocations: 8.375 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1795, allocations: 4.375 kB / 0.9835 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1798, allocations: 131.1 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1799, allocations: 0 / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1799, allocations: 0 / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1799, allocations: 3.938 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.1803, allocations: 123.9 kB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1808, allocations: 348.5 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.1814, allocations: 186.4 kB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.1817, allocations: 64.81 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1817, allocations: 0 / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.1817, allocations: 38.56 kB / 0.9844 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1817, allocations: 0 / 0.9844 GB, free: 22.77 MB / 0.6198 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.01661/0.1983, allocations: 3.183 MB / 0.9875 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1984, allocations: 59.33 kB / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.1985, allocations: 101.9 kB / 0.9876 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1985, allocations: 29.7 kB / 0.9877 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.1985, allocations: 91.97 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.1986, allocations: 39.47 kB / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.1987, allocations: 4 kB / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.1987, allocations: 318.8 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.1993, allocations: 219.8 kB / 0.9883 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.1999, allocations: 221.8 kB / 0.9885 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2011, allocations: 444.5 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2011, allocations: 0 / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001358/0.2025, allocations: 0.5157 MB / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2025, allocations: 4 kB / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2025, allocations: 0 / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2025, allocations: 0 / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.2033, allocations: 123.7 kB / 0.9896 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2033, allocations: 4 kB / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.2039, allocations: 59.94 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.2039, allocations: 27.92 kB / 0.9896 GB, free: 17.22 MB / 0.6198 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.0001208/0.2041, allocations: 113.8 kB / 0.9898 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.2041, allocations: 11.91 kB / 0.9898 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.2042, allocations: 11.97 kB / 0.9898 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2042, allocations: 7.938 kB / 0.9898 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2042, allocations: 0 / 0.9898 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2042, allocations: 3.984 kB / 0.9898 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.206, allocations: 1.094 MB / 0.9909 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2061, allocations: 0 / 0.9909 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.2068, allocations: 119.7 kB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2068, allocations: 4 kB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.2069, allocations: 23.92 kB / 0.991 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2069, allocations: 0 / 0.991 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2069, allocations: 1.016 kB / 0.991 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.2089, allocations: 0.8698 MB / 0.9918 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.209, allocations: 124.9 kB / 0.992 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.2091, allocations: 4.062 kB / 0.992 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.2097, allocations: 63.94 kB / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.2098, allocations: 24.02 kB / 0.9921 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.2099, allocations: 27.88 kB / 0.9921 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.2099, allocations: 87.27 kB / 0.9922 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2099, allocations: 0 / 0.9922 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003485/0.2103, allocations: 48 kB / 0.9922 GB, free: 14.44 MB / 0.6198 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.002253/0.2125, allocations: 1.427 MB / 0.9936 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.2138, allocations: 467.6 kB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2138, allocations: 3.938 kB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.2144, allocations: 243.7 kB / 0.9943 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.2148, allocations: 13.69 kB / 0.9943 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.2207, allocations: 1.862 MB / 0.9961 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2208, allocations: 0.6965 MB / 0.9968 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006182/0.2214, allocations: 89.09 kB / 0.9969 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.2217, allocations: 67.3 kB / 0.9969 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2217, allocations: 0 / 0.9969 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2986/0.5204, allocations: 4.159 MB / 1.001 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.5206, allocations: 222.3 kB / 1.001 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.809, allocations: 0 / 1.001 GB, free: 5.246 MB / 0.6198 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)