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.32/1.32, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009918/0.0009918, allocations: 174.7 kB / 327 MB, free: 2.117 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.631/1.631, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007578/0.000758, allocations: 84.66 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 11.69 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2046, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009331/0.2056, allocations: 0.524 MB / 0.9014 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2073, allocations: 1.529 MB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.2074, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.2074, allocations: 3.938 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.911e-05/0.2074, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.2079, allocations: 111.7 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.208, allocations: 51.84 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.208, allocations: 11.98 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.2081, allocations: 23.92 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.2082, allocations: 31.89 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.2082, allocations: 4 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.2086, allocations: 311.4 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.2086, allocations: 19.91 kB / 0.9035 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.2086, allocations: 49.56 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.2089, allocations: 203.6 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.209, allocations: 4 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.209, allocations: 0 / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.209, allocations: 0 / 0.9037 GB, free: 60.5 MB / 0.6042 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.0005874/0.2096, allocations: 387.7 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2096, allocations: 12.03 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.2097, allocations: 38.73 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.2101, allocations: 80.86 kB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.2102, allocations: 184.2 kB / 0.9044 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.2102, allocations: 8.375 kB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2102, allocations: 8.312 kB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.2106, allocations: 123.4 kB / 0.9045 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2106, allocations: 4 kB / 0.9045 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2106, allocations: 0 / 0.9045 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2106, allocations: 0 / 0.9045 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.2111, allocations: 127.9 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.2116, allocations: 344.6 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.2122, allocations: 186.4 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.2124, allocations: 64.81 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2124, allocations: 0 / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2124, allocations: 38.5 kB / 0.9053 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.2125, allocations: 0 / 0.9053 GB, free: 58.76 MB / 0.6042 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.01765/0.2301, allocations: 3.189 MB / 0.9084 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.2302, allocations: 59.34 kB / 0.9084 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.2302, allocations: 101.8 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.2303, allocations: 33.7 kB / 0.9086 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.2303, allocations: 91.98 kB / 0.9086 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.2304, allocations: 35.45 kB / 0.9087 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2304, allocations: 4 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.2305, allocations: 314.8 kB / 0.909 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.2311, allocations: 215.8 kB / 0.9092 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.2317, allocations: 219.8 kB / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2329, allocations: 447.2 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2329, allocations: 0 / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001419/0.2343, allocations: 0.5167 MB / 0.9103 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2344, allocations: 4 kB / 0.9103 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2344, allocations: 4 kB / 0.9103 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2344, allocations: 0 / 0.9103 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/0.2352, allocations: 123.7 kB / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2352, allocations: 0 / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.2359, allocations: 59.94 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.2359, allocations: 23.94 kB / 0.9105 GB, free: 53.21 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.2361, allocations: 121.8 kB / 0.9106 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.2362, allocations: 7.984 kB / 0.9107 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.2362, allocations: 11.97 kB / 0.9107 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2362, allocations: 3.938 kB / 0.9107 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2362, allocations: 0 / 0.9107 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2362, allocations: 0 / 0.9107 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.2382, allocations: 1.105 MB / 0.9118 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2382, allocations: 0 / 0.9118 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.239, allocations: 123.7 kB / 0.9119 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.239, allocations: 0 / 0.9119 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.2391, allocations: 23.94 kB / 0.9119 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2391, allocations: 0 / 0.9119 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2391, allocations: 3.984 kB / 0.9119 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.2412, allocations: 0.8621 MB / 0.9127 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2414, allocations: 125 kB / 0.9129 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.2414, allocations: 3.938 kB / 0.9129 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.2421, allocations: 67.94 kB / 0.9129 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2422, allocations: 24.02 kB / 0.9129 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.2423, allocations: 31.86 kB / 0.913 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.2423, allocations: 83.28 kB / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2423, allocations: 0 / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003544/0.2427, allocations: 44 kB / 0.9131 GB, free: 50.42 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002388/0.2451, allocations: 1.423 MB / 0.9145 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.2465, allocations: 475.5 kB / 0.9149 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2465, allocations: 0 / 0.9149 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.2471, allocations: 251.7 kB / 0.9152 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2475, allocations: 15.83 kB / 0.9152 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/0.2554, allocations: 3.192 MB / 0.9183 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2555, allocations: 0.6888 MB / 0.919 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006571/0.2562, allocations: 92.66 kB / 0.9191 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.2565, allocations: 63.3 kB / 0.9191 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.2565, allocations: 0 / 0.9191 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.2709, allocations: 4.227 MB / 0.9233 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.271, allocations: 247.4 kB / 0.9235 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.071, allocations: 0 / 0.9235 GB, free: 39.79 MB / 0.6042 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)