Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001004/0.001004, allocations: 189.7 kB / 371.8 MB, free: 10.29 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.429/1.429, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008558/0.0008558, allocations: 93.25 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004558, allocations: 13.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1989, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006598/0.1996, allocations: 363.7 kB / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.201, allocations: 1.429 MB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.2011, allocations: 4 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.2011, allocations: 3.938 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.2012, allocations: 8 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.2015, allocations: 87.69 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.445e-05/0.2016, allocations: 19.98 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.2016, allocations: 3.984 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.2016, allocations: 15.92 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.2017, allocations: 15.92 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2017, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.2021, allocations: 315.5 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.2021, allocations: 7.984 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.2021, allocations: 29.7 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2023, allocations: 136.1 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2023, allocations: 3.938 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2024, allocations: 0 / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2024, allocations: 4 kB / 0.9819 GB, free: 25.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003816/0.2028, allocations: 376.9 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2028, allocations: 12.02 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.2028, allocations: 30.56 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.2032, allocations: 75.83 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.2033, allocations: 175 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2033, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2033, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.2036, allocations: 77.58 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2036, allocations: 4 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2036, allocations: 4 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2036, allocations: 0 / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.204, allocations: 87.86 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.2041, allocations: 173.7 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.2046, allocations: 142.5 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.2046, allocations: 0 / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.2046, allocations: 38.55 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.2046, allocations: 0 / 0.983 GB, free: 23.79 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=9): time 0.003818/0.2085, allocations: 0.9575 MB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.2085, allocations: 51.41 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.2086, allocations: 109.8 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2086, allocations: 25.7 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.2086, allocations: 88.14 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.2087, allocations: 31.55 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.2087, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.2087, allocations: 318.8 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.2091, allocations: 119.9 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.2095, allocations: 119.8 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.2099, allocations: 123.8 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2099, allocations: 0 / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008263/0.2107, allocations: 281.6 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2108, allocations: 8 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2108, allocations: 0 / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2108, allocations: 4.75 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2111, allocations: 63.94 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2111, allocations: 3.984 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.2113, allocations: 43.95 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2114, allocations: 7.984 kB / 0.9853 GB, free: 21.41 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 (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.37e-05/0.2114, allocations: 117.8 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.2114, allocations: 3.906 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.2115, allocations: 12.38 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2115, allocations: 7.984 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2115, allocations: 4 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2115, allocations: 0 / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.2134, allocations: 0.6599 MB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2134, allocations: 0 / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.2138, allocations: 64 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2138, allocations: 4 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.2138, allocations: 7.984 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2138, allocations: 7.953 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2138, allocations: 0 / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008903/0.2147, allocations: 400.8 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.2148, allocations: 84.97 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.2148, allocations: 11.98 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.215, allocations: 43.95 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.2151, allocations: 11.92 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.2151, allocations: 4 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.2151, allocations: 95.25 kB / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2151, allocations: 4 kB / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002752/0.2154, allocations: 40 kB / 0.9868 GB, free: 19.72 MB / 0.6198 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.001114/0.2165, allocations: 1.109 MB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008194/0.2174, allocations: 251.7 kB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2174, allocations: 0 / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.2178, allocations: 128 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.2179, allocations: 4.75 kB / 0.9883 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.2208, allocations: 1.163 MB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.221, allocations: 0.6927 MB / 0.9901 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.2211, allocations: 16.67 kB / 0.9901 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.2212, allocations: 27.41 kB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.2212, allocations: 0 / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.2339, allocations: 2.441 MB / 0.9925 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.2341, allocations: 200.3 kB / 0.9927 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.751, allocations: 0 / 0.9927 GB, free: 13.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)