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.276/1.276, allocations: 251.5 MB / 266.7 MB, free: 10.98 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.001012/0.001012, allocations: 172.2 kB / 325.8 MB, free: 2.672 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.737/1.737, allocations: 205 MB / 0.576 GB, free: 20.94 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.0008242/0.000824, allocations: 94 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 11.84 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001205/0.2245, allocations: 0.5276 MB / 0.8967 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.2263, allocations: 1.542 MB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.2264, allocations: 0 / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.2264, allocations: 4 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.2265, allocations: 3.938 kB / 0.8982 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.2269, allocations: 111.7 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.227, allocations: 47.91 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.227, allocations: 4 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.2271, allocations: 27.91 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.2272, allocations: 31.84 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2272, allocations: 4 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.2275, allocations: 319.3 kB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.2276, allocations: 11.98 kB / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.2276, allocations: 31.84 kB / 0.8988 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.2279, allocations: 207.5 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2279, allocations: 4 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2279, allocations: 0 / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2279, allocations: 0 / 0.899 GB, free: 65.14 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.0005858/0.2285, allocations: 385.3 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.2285, allocations: 16.03 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.2286, allocations: 42.67 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.229, allocations: 80.84 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2291, allocations: 168.3 kB / 0.8997 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.2292, allocations: 8.375 kB / 0.8997 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.2292, allocations: 8.375 kB / 0.8997 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.2295, allocations: 117.7 kB / 0.8998 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2296, allocations: 0 / 0.8998 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2296, allocations: 7.938 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2296, allocations: 0 / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.23, allocations: 135.8 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.2306, allocations: 352.5 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.2311, allocations: 182.4 kB / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2314, allocations: 68.8 kB / 0.9005 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.2314, allocations: 4 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2314, allocations: 30.56 kB / 0.9005 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2314, allocations: 0 / 0.9005 GB, free: 63.39 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.01633/0.2478, allocations: 3.178 MB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2478, allocations: 59.34 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.2479, allocations: 105.8 kB / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.2479, allocations: 29.7 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.248, allocations: 84.05 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.248, allocations: 39.45 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.2481, allocations: 21.64 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.2481, allocations: 318.8 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.2487, allocations: 219.7 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.2493, allocations: 215.8 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2504, allocations: 450.8 kB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2504, allocations: 0 / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001331/0.2518, allocations: 0.5167 MB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2518, allocations: 4 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2518, allocations: 0 / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2518, allocations: 0 / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.2526, allocations: 127.7 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2526, allocations: 0 / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.2531, allocations: 59.94 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.2532, allocations: 27.92 kB / 0.9058 GB, free: 57.82 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.000112/0.2533, allocations: 113.8 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.2534, allocations: 4 kB / 0.906 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.2534, allocations: 15.95 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2535, allocations: 7.938 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2535, allocations: 0 / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2535, allocations: 0 / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.2553, allocations: 1.105 MB / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2553, allocations: 0 / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.256, allocations: 123.8 kB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.256, allocations: 3.938 kB / 0.9072 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.2561, allocations: 23.94 kB / 0.9072 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2561, allocations: 4 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2561, allocations: 0 / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.2581, allocations: 0.866 MB / 0.908 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2582, allocations: 120.8 kB / 0.9082 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.2583, allocations: 8 kB / 0.9082 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.2589, allocations: 56 kB / 0.9082 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.821e-05/0.259, allocations: 27.92 kB / 0.9083 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.259, allocations: 23.92 kB / 0.9083 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.2591, allocations: 87.45 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2591, allocations: 0 / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003257/0.2594, allocations: 56 kB / 0.9084 GB, free: 55.03 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.002231/0.2616, allocations: 1.425 MB / 0.9098 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.2629, allocations: 467.6 kB / 0.9102 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2629, allocations: 8 kB / 0.9103 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.2635, allocations: 251.7 kB / 0.9105 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2638, allocations: 12 kB / 0.9105 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.2713, allocations: 3.165 MB / 0.9136 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2714, allocations: 0.6926 MB / 0.9143 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006468/0.2721, allocations: 88.67 kB / 0.9144 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.2724, allocations: 63.3 kB / 0.9144 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.2724, allocations: 0 / 0.9144 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.286, allocations: 4.242 MB / 0.9186 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.2862, allocations: 243.9 kB / 0.9188 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.975, allocations: 0 / 0.9188 GB, free: 44.41 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)