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.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001084/0.001084, allocations: 176.4 kB / 326.5 MB, free: 2.266 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.911/1.911, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008621/0.0008621, allocations: 90.27 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 11.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1953, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007057/0.196, allocations: 373.8 kB / 0.9005 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1975, allocations: 1.43 MB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.1976, allocations: 4 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1976, allocations: 3.938 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.1977, allocations: 0 / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.198, allocations: 95.69 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.1981, allocations: 15.97 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.1981, allocations: 0 / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.1982, allocations: 19.92 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.1982, allocations: 19.91 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1983, allocations: 4 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.1986, allocations: 311.4 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.1986, allocations: 11.98 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.1986, allocations: 25.7 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1988, allocations: 131.9 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1988, allocations: 7.875 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.1988, allocations: 4 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1988, allocations: 0 / 0.9025 GB, free: 61.38 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.0003944/0.1992, allocations: 371.5 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1993, allocations: 12.03 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.1993, allocations: 34.56 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.1997, allocations: 75.88 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1998, allocations: 174.9 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1998, allocations: 0 / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1998, allocations: 4 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.2001, allocations: 85.58 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2001, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2001, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2001, allocations: 4 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.2005, allocations: 83.86 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2007, allocations: 173.7 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.2012, allocations: 146.5 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.2012, allocations: 0 / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2012, allocations: 34.55 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2012, allocations: 0 / 0.9037 GB, free: 60.04 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.003965/0.2052, allocations: 0.9572 MB / 0.9046 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2052, allocations: 51.41 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.2053, allocations: 114 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2053, allocations: 33.7 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.2054, allocations: 80.14 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.2054, allocations: 39.53 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.2054, allocations: 4 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.2055, allocations: 310.8 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.2059, allocations: 119.9 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.2063, allocations: 123.8 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.2067, allocations: 116.1 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2067, allocations: 0 / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008407/0.2076, allocations: 285.3 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2076, allocations: 4 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2076, allocations: 0 / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2076, allocations: 4 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.2079, allocations: 63.94 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2079, allocations: 8.047 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.2082, allocations: 47.91 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2082, allocations: 11.98 kB / 0.906 GB, free: 57.64 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.501e-05/0.2083, allocations: 113.8 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.2083, allocations: 8 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.2083, allocations: 8.375 kB / 0.9061 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2083, allocations: 3.984 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2084, allocations: 0 / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2084, allocations: 3.938 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.2099, allocations: 0.656 MB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2099, allocations: 4 kB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.2102, allocations: 64 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2102, allocations: 0 / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.2102, allocations: 15.94 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2102, allocations: 0 / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2102, allocations: 0 / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.211, allocations: 412.3 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.2111, allocations: 81.09 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2111, allocations: 4 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.2113, allocations: 47.95 kB / 0.9073 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.2114, allocations: 16.11 kB / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.2114, allocations: 8 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.2115, allocations: 95.2 kB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2115, allocations: 0 / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002826/0.2117, allocations: 32 kB / 0.9075 GB, free: 55.96 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.001122/0.2129, allocations: 1.101 MB / 0.9086 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008492/0.2137, allocations: 251.7 kB / 0.9088 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2138, allocations: 0 / 0.9088 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.2142, allocations: 132 kB / 0.9089 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2144, allocations: 8 kB / 0.9089 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.2174, allocations: 1.149 MB / 0.9101 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.2175, allocations: 0.6887 MB / 0.9107 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.2176, allocations: 20.73 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.2177, allocations: 31.41 kB / 0.9108 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2177, allocations: 0 / 0.9108 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.2299, allocations: 2.427 MB / 0.9132 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.2301, allocations: 206.2 kB / 0.9133 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.797, allocations: 4 kB / 0.9134 GB, free: 49.97 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)