Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",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.49/1.49, allocations: 252 MB / 267 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.0009362/0.0009363, allocations: 193.7 kB / 326.6 MB, free: 2.211 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.56/1.56, allocations: 205.4 MB / 0.5776 GB, free: 20.48 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.0007144/0.0007147, allocations: 96.28 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 10.09 kB / 0.7965 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2158, allocations: 106.4 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006955/0.2165, allocations: 370.1 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.218, allocations: 1.437 MB / 0.9021 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.218, allocations: 0 / 0.9021 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.2181, allocations: 3.938 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.2181, allocations: 0 / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.2184, allocations: 95.7 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.2185, allocations: 23.91 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.2185, allocations: 8 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.172e-05/0.2186, allocations: 7.938 kB / 0.9022 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.2186, allocations: 23.91 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2186, allocations: 0 / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.219, allocations: 307.4 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.219, allocations: 4 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.219, allocations: 37.64 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.2192, allocations: 131.8 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2193, allocations: 0 / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2193, allocations: 3.938 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2193, allocations: 0 / 0.9027 GB, free: 61.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004577/0.2197, allocations: 367.5 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2198, allocations: 8.031 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.2198, allocations: 34.56 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.2202, allocations: 75.88 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2203, allocations: 182.8 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2204, allocations: 4 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2204, allocations: 0 / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.2206, allocations: 81.58 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2207, allocations: 0 / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2207, allocations: 8 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2207, allocations: 0 / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.221, allocations: 79.92 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.2212, allocations: 169.7 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.2217, allocations: 146.5 kB / 0.9038 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.2219, allocations: 52.88 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2219, allocations: 3.984 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2219, allocations: 34.56 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.2219, allocations: 0 / 0.9039 GB, free: 60.32 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=9): time 0.003997/0.2259, allocations: 0.9458 MB / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.226, allocations: 67.28 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/0.226, allocations: 109.8 kB / 0.905 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2261, allocations: 29.7 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.2261, allocations: 84.14 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.2261, allocations: 23.62 kB / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.2261, allocations: 0 / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.2262, allocations: 318.8 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.2266, allocations: 119.9 kB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.227, allocations: 119.9 kB / 0.9056 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.2274, allocations: 116.1 kB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2274, allocations: 0 / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008274/0.2282, allocations: 289.3 kB / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2283, allocations: 8 kB / 0.906 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2283, allocations: 0 / 0.906 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2283, allocations: 0 / 0.906 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.2286, allocations: 64.69 kB / 0.9061 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2286, allocations: 0 / 0.9061 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.2288, allocations: 51.91 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2289, allocations: 3.984 kB / 0.9062 GB, free: 57.95 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 (9): * Single equations (assignments): 9 * 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 6.776e-05/0.2289, allocations: 121.7 kB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.229, allocations: 7.938 kB / 0.9063 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.229, allocations: 8.375 kB / 0.9063 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.229, allocations: 0 / 0.9063 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.229, allocations: 12 kB / 0.9063 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.229, allocations: 0 / 0.9063 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2306, allocations: 0.6599 MB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2306, allocations: 0 / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.2308, allocations: 67.94 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2308, allocations: 3.953 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2309, allocations: 7.984 kB / 0.907 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2309, allocations: 4 kB / 0.907 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2309, allocations: 0 / 0.907 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.2318, allocations: 392.9 kB / 0.9074 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.2318, allocations: 81.11 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.2318, allocations: 3.953 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.2321, allocations: 47.95 kB / 0.9075 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2321, allocations: 12.17 kB / 0.9075 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2322, allocations: 7.984 kB / 0.9075 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.2322, allocations: 91.61 kB / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2322, allocations: 0 / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002648/0.2325, allocations: 39.98 kB / 0.9077 GB, free: 56.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0011/0.2336, allocations: 0.9365 MB / 0.9086 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008481/0.2344, allocations: 248 kB / 0.9088 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2345, allocations: 0 / 0.9088 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.2349, allocations: 135.9 kB / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2351, allocations: 11.95 kB / 0.909 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.2381, allocations: 1.145 MB / 0.9101 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.2382, allocations: 0.6887 MB / 0.9108 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.2383, allocations: 20.73 kB / 0.9108 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.2384, allocations: 27.41 kB / 0.9108 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of SimCode: time 4.7e-07/0.2384, allocations: 0 / 0.9108 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.2522, allocations: 2.456 MB / 0.9132 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.2525, allocations: 204.1 kB / 0.9134 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/1.979, allocations: 0 / 0.9134 GB, free: 50.45 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)