Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 216.4 kB / 22.25 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.984/0.984, allocations: 145 MB / 457.4 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 66.28 kB / 0.6332 GB, free: 7.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1823, allocations: 87.88 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002763/0.185, allocations: 1.47 MB / 0.7204 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1865, allocations: 0.842 MB / 0.7213 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.1865, allocations: 0 / 0.7213 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.1865, allocations: 0 / 0.7213 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.1866, allocations: 11.92 kB / 0.7213 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.1871, allocations: 127.5 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.1871, allocations: 31.97 kB / 0.7214 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.1872, allocations: 3.984 kB / 0.7214 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.1873, allocations: 19.92 kB / 0.7214 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.1874, allocations: 19.92 kB / 0.7215 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1874, allocations: 4 kB / 0.7215 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.1879, allocations: 323.4 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1879, allocations: 7.984 kB / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.1879, allocations: 15.92 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.1883, allocations: 195.5 kB / 0.722 GB, free: 12.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1883, allocations: 0 / 0.722 GB, free: 12.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1883, allocations: 0 / 0.722 GB, free: 12.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1883, allocations: 0 / 0.722 GB, free: 12.32 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005475/0.1888, allocations: 304.3 kB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1889, allocations: 12.03 kB / 0.7223 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.1889, allocations: 34.75 kB / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/0.1894, allocations: 68.84 kB / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1895, allocations: 110.5 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1895, allocations: 384 / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1895, allocations: 384 / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.1898, allocations: 97.62 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1899, allocations: 0 / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1899, allocations: 3.984 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1899, allocations: 0 / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.1903, allocations: 95.89 kB / 0.7227 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.1908, allocations: 267.9 kB / 0.7229 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.1912, allocations: 95.14 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1914, allocations: 56.81 kB / 0.7231 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1914, allocations: 0 / 0.7231 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1914, allocations: 34.56 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1914, allocations: 4 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006977/0.1921, allocations: 165.5 kB / 0.7233 GB, free: 10.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1922, allocations: 51.41 kB / 0.7233 GB, free: 10.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.1923, allocations: 93.86 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1923, allocations: 29.7 kB / 0.7234 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1923, allocations: 92.25 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.1924, allocations: 3.953 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1924, allocations: 17.72 kB / 0.7235 GB, free: 10.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1925, allocations: 314.8 kB / 0.7238 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1927, allocations: 47.88 kB / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.1929, allocations: 47.95 kB / 0.7239 GB, free: 10.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.1933, allocations: 88.83 kB / 0.724 GB, free: 10.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1933, allocations: 0 / 0.724 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004126/0.1937, allocations: 121.6 kB / 0.7241 GB, free: 9.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1937, allocations: 7.984 kB / 0.7241 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1937, allocations: 7.969 kB / 0.7242 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1937, allocations: 0 / 0.7242 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1939, allocations: 19.98 kB / 0.7242 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1939, allocations: 3.984 kB / 0.7242 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.194, allocations: 19.92 kB / 0.7242 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.194, allocations: 0 / 0.7242 GB, free: 9.863 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 9.256e-05/0.1941, allocations: 117.8 kB / 0.7243 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1941, allocations: 11.94 kB / 0.7243 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1941, allocations: 3.312 kB / 0.7243 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1941, allocations: 0 / 0.7243 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1941, allocations: 256 / 0.7243 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1942, allocations: 0 / 0.7243 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1943, allocations: 148.7 kB / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1943, allocations: 0 / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1945, allocations: 23.98 kB / 0.7245 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1945, allocations: 0 / 0.7245 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1945, allocations: 3.984 kB / 0.7245 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1945, allocations: 3.938 kB / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1945, allocations: 0 / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.195, allocations: 219.4 kB / 0.7247 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.195, allocations: 4 kB / 0.7247 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.195, allocations: 3.938 kB / 0.7247 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1951, allocations: 20.02 kB / 0.7247 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1952, allocations: 3.984 kB / 0.7247 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1952, allocations: 0 / 0.7247 GB, free: 9.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.1952, allocations: 83.28 kB / 0.7248 GB, free: 9.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1952, allocations: 0 / 0.7248 GB, free: 9.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002639/0.1955, allocations: 19.92 kB / 0.7248 GB, free: 9.137 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000821/0.1963, allocations: 0.7591 MB / 0.7256 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.1967, allocations: 99.86 kB / 0.7257 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1967, allocations: 0 / 0.7257 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.1969, allocations: 48.02 kB / 0.7257 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1973, allocations: 8 kB / 0.7257 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/0.198, allocations: 207 kB / 0.7259 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1983, allocations: 0.6768 MB / 0.7266 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.219e-05/0.1983, allocations: 8 kB / 0.7266 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1984, allocations: 11.42 kB / 0.7266 GB, free: 7.234 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1984, allocations: 0 / 0.7266 GB, free: 7.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.2258, allocations: 1.813 MB / 0.7284 GB, free: 5.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.91, allocations: 2.656 kB / 0.7284 GB, free: 5.562 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.758605200000602] Failed to read output from testmodel.py, exit status != 0: 11.016017871999793 11.041897578 10.849827732 Calling exit ...