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 2.143/2.143, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001164/0.001164, allocations: 177.1 kB / 371.8 MB, free: 10.3 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.545/1.545, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009511/0.0009511, allocations: 94.84 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004574, allocations: 12.69 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1888, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008225/0.1896, allocations: 0.5011 MB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1911, allocations: 1.453 MB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.1912, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.1912, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.1913, allocations: 4 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.1917, allocations: 115.6 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.1917, allocations: 31.91 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.1918, allocations: 0 / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.1919, allocations: 31.91 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.1919, allocations: 27.91 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1919, allocations: 4 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.1923, allocations: 311.4 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1923, allocations: 15.97 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.1923, allocations: 33.7 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1925, allocations: 160 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1926, allocations: 4 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1926, allocations: 0 / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.1926, allocations: 0 / 0.9821 GB, free: 24.91 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.0005459/0.1931, allocations: 391.2 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1932, allocations: 12.03 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.1932, allocations: 30.56 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.1937, allocations: 95.75 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.1938, allocations: 171 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.1938, allocations: 4 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.1938, allocations: 8 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.1942, allocations: 127.2 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1942, allocations: 0 / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1942, allocations: 4 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1943, allocations: 4 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.1947, allocations: 123.9 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.1953, allocations: 340.6 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.196, allocations: 186.4 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.196, allocations: 0 / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.196, allocations: 30.56 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.196, allocations: 0 / 0.9836 GB, free: 23.25 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.0177/0.2137, allocations: 3.19 MB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2138, allocations: 51.41 kB / 0.9867 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.2139, allocations: 105.8 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.2139, allocations: 33.64 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.214, allocations: 88.14 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.214, allocations: 39.36 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.2141, allocations: 4 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.2141, allocations: 318.8 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.2148, allocations: 215.8 kB / 0.9875 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.2154, allocations: 215.8 kB / 0.9877 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.216, allocations: 225.2 kB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.216, allocations: 0 / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001393/0.2174, allocations: 0.5128 MB / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2174, allocations: 9.719 kB / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2174, allocations: 0 / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2175, allocations: 0 / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/0.2183, allocations: 119.7 kB / 0.9885 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2183, allocations: 5 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.2189, allocations: 59.94 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.219, allocations: 27.94 kB / 0.9886 GB, free: 17.92 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.0001322/0.2191, allocations: 113.8 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.2192, allocations: 11.86 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.2193, allocations: 11.95 kB / 0.9888 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2193, allocations: 4.094 kB / 0.9888 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2193, allocations: 3.938 kB / 0.9888 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2193, allocations: 0 / 0.9888 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.2212, allocations: 1.102 MB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2212, allocations: 0 / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/0.222, allocations: 123.8 kB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.222, allocations: 4 kB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.2221, allocations: 23.94 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2221, allocations: 0 / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2221, allocations: 0 / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.2242, allocations: 0.8801 MB / 0.9908 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.2244, allocations: 117 kB / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.2244, allocations: 0 / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.2251, allocations: 60 kB / 0.991 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.2252, allocations: 27.92 kB / 0.991 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.2253, allocations: 27.92 kB / 0.9911 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.2253, allocations: 79.47 kB / 0.9911 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2253, allocations: 0 / 0.9911 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003697/0.2257, allocations: 52 kB / 0.9912 GB, free: 15.14 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.002386/0.2281, allocations: 1.434 MB / 0.9926 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.2294, allocations: 463.6 kB / 0.993 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2294, allocations: 4 kB / 0.993 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.2301, allocations: 247.7 kB / 0.9933 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.2303, allocations: 8.75 kB / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/0.2367, allocations: 1.856 MB / 0.9951 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2368, allocations: 0.7004 MB / 0.9958 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006745/0.2375, allocations: 88.67 kB / 0.9959 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.2378, allocations: 63.3 kB / 0.9959 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of SimCode: time 6.12e-07/0.2378, allocations: 4 kB / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.2526, allocations: 4.145 MB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001258/0.2527, allocations: 221.5 kB / 1 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.839, allocations: 0 / 1 GB, free: 5.957 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)