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.001838/0.001838, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002312/0.002312, allocations: 212.5 kB / 22.24 MB, free: 4.859 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.777 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.9936/0.9936, allocations: 145 MB / 457.4 MB, free: 15.28 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.002513/0.002513, allocations: 71.55 kB / 0.6331 GB, free: 6.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.189, allocations: 87.88 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003733/0.1927, allocations: 1.448 MB / 0.7203 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1943, allocations: 0.7602 MB / 0.7211 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.1943, allocations: 0 / 0.7211 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.1944, allocations: 3.938 kB / 0.7211 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.014e-05/0.1944, allocations: 15.86 kB / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.195, allocations: 123.5 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1951, allocations: 43.91 kB / 0.7213 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1953, allocations: 4 kB / 0.7213 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.1953, allocations: 11.98 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.1954, allocations: 15.92 kB / 0.7213 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1954, allocations: 7.984 kB / 0.7213 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.1959, allocations: 247.5 kB / 0.7215 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.1959, allocations: 7.984 kB / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.1959, allocations: 7.938 kB / 0.7215 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.1963, allocations: 191.4 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1963, allocations: 0 / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.1963, allocations: 4 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1963, allocations: 0 / 0.7217 GB, free: 11.96 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.000623/0.1969, allocations: 305.9 kB / 0.722 GB, free: 11.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.197, allocations: 8.031 kB / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.197, allocations: 30.75 kB / 0.7221 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.1975, allocations: 72.84 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1977, allocations: 110.5 kB / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.1977, allocations: 384 / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1977, allocations: 384 / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.198, allocations: 89.75 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.198, allocations: 0 / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1981, allocations: 7.922 kB / 0.7223 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1981, allocations: 4 kB / 0.7223 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.1985, allocations: 91.84 kB / 0.7224 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.1991, allocations: 263.9 kB / 0.7227 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.1995, allocations: 95.12 kB / 0.7228 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.1997, allocations: 48.88 kB / 0.7228 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1997, allocations: 0 / 0.7228 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1998, allocations: 30.56 kB / 0.7228 GB, free: 10.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1998, allocations: 3.938 kB / 0.7228 GB, free: 10.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007634/0.2005, allocations: 169.6 kB / 0.723 GB, free: 10.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.2006, allocations: 51.41 kB / 0.7231 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.2007, allocations: 105.8 kB / 0.7232 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2007, allocations: 25.7 kB / 0.7232 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.2008, allocations: 84.14 kB / 0.7233 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2008, allocations: 11.89 kB / 0.7233 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.2009, allocations: 13.7 kB / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.201, allocations: 326.8 kB / 0.7236 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.2013, allocations: 39.95 kB / 0.7236 GB, free: 9.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.2015, allocations: 47.95 kB / 0.7237 GB, free: 9.781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.2019, allocations: 92.77 kB / 0.7238 GB, free: 9.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2019, allocations: 0 / 0.7238 GB, free: 9.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00045/0.2023, allocations: 121.6 kB / 0.7239 GB, free: 9.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.2023, allocations: 4 kB / 0.7239 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2023, allocations: 0 / 0.7239 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2024, allocations: 0 / 0.7239 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2025, allocations: 27.97 kB / 0.7239 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2025, allocations: 4.031 kB / 0.7239 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2026, allocations: 15.97 kB / 0.7239 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2027, allocations: 4 kB / 0.7239 GB, free: 9.508 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 0.0001037/0.2028, allocations: 109.8 kB / 0.724 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.2028, allocations: 3.953 kB / 0.724 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.2028, allocations: 11.31 kB / 0.7241 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2028, allocations: 0 / 0.7241 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2028, allocations: 7.938 kB / 0.7241 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2029, allocations: 0 / 0.7241 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.203, allocations: 140.6 kB / 0.7242 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.203, allocations: 256 / 0.7242 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.2032, allocations: 23.98 kB / 0.7242 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2032, allocations: 3.984 kB / 0.7242 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.2032, allocations: 0 / 0.7242 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2032, allocations: 0 / 0.7242 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2032, allocations: 0 / 0.7242 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.2037, allocations: 223.4 kB / 0.7244 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.2037, allocations: 4 kB / 0.7244 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2037, allocations: 0 / 0.7244 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2039, allocations: 15.98 kB / 0.7245 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.2039, allocations: 11.97 kB / 0.7245 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2039, allocations: 0 / 0.7245 GB, free: 8.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.204, allocations: 79.28 kB / 0.7245 GB, free: 8.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.204, allocations: 0 / 0.7245 GB, free: 8.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002428/0.2042, allocations: 19.92 kB / 0.7246 GB, free: 8.793 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.0009383/0.2052, allocations: 0.7708 MB / 0.7253 GB, free: 7.992 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.2057, allocations: 95.92 kB / 0.7254 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2057, allocations: 0 / 0.7254 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.2059, allocations: 55.83 kB / 0.7255 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.2062, allocations: 9.156 kB / 0.7255 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.207, allocations: 195 kB / 0.7257 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.2071, allocations: 63.36 kB / 0.7257 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.938e-05/0.2071, allocations: 8 kB / 0.7257 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.2072, allocations: 15.42 kB / 0.7257 GB, free: 7.5 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.2072, allocations: 0 / 0.7257 GB, free: 7.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.2386, allocations: 2.274 MB / 0.728 GB, free: 5.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.34, allocations: 2.062 kB / 0.728 GB, free: 5.379 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: 15.296037667896599] Failed to read output from testmodel.py, exit status != 0: 11.441834764089435 11.464514265 11.263352779 Calling exit ...