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.001289/0.001289, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001428/0.001428, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.797 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.8987/0.8987, allocations: 145 MB / 457.4 MB, free: 15.25 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.002039/0.002039, allocations: 70.55 kB / 0.6331 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1862, allocations: 87.88 MB / 0.7189 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002721/0.1889, allocations: 1.448 MB / 0.7203 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1904, allocations: 0.7641 MB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.1905, allocations: 0 / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.1905, allocations: 3.938 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.1905, allocations: 0 / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.191, allocations: 139.5 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.1911, allocations: 31.86 kB / 0.7212 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.1912, allocations: 7.984 kB / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.1912, allocations: 12 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.1913, allocations: 19.91 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1913, allocations: 4 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.1917, allocations: 251.5 kB / 0.7215 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.1917, allocations: 4 kB / 0.7215 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.1918, allocations: 15.92 kB / 0.7215 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1921, allocations: 191.5 kB / 0.7217 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.269e-06/0.1921, allocations: 0 / 0.7217 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1921, allocations: 0 / 0.7217 GB, free: 11.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.1921, allocations: 3.938 kB / 0.7217 GB, free: 11.88 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.0005932/0.1927, allocations: 297.9 kB / 0.722 GB, free: 11.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1928, allocations: 12.03 kB / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.1928, allocations: 30.75 kB / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004745/0.1933, allocations: 76.84 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1934, allocations: 102.5 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1934, allocations: 384 / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1934, allocations: 8.375 kB / 0.7222 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.1938, allocations: 85.75 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1938, allocations: 0 / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1938, allocations: 0 / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1938, allocations: 0 / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.1942, allocations: 95.83 kB / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.1947, allocations: 259.9 kB / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.1951, allocations: 103.1 kB / 0.7228 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1953, allocations: 48.88 kB / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1954, allocations: 3.938 kB / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1954, allocations: 38.56 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1954, allocations: 0 / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007465/0.1961, allocations: 169.5 kB / 0.723 GB, free: 10.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1962, allocations: 51.41 kB / 0.7231 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.1963, allocations: 101.8 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1963, allocations: 29.7 kB / 0.7232 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.1963, allocations: 88.2 kB / 0.7233 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1964, allocations: 7.938 kB / 0.7233 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1964, allocations: 17.72 kB / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1966, allocations: 318.8 kB / 0.7236 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1968, allocations: 43.95 kB / 0.7236 GB, free: 9.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.197, allocations: 47.95 kB / 0.7237 GB, free: 9.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1974, allocations: 88.83 kB / 0.7238 GB, free: 9.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1974, allocations: 3.938 kB / 0.7238 GB, free: 9.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004552/0.1978, allocations: 121.6 kB / 0.7239 GB, free: 9.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1979, allocations: 9.875 kB / 0.7239 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1979, allocations: 0 / 0.7239 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1979, allocations: 0 / 0.7239 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.198, allocations: 24 kB / 0.7239 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.198, allocations: 0 / 0.7239 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1982, allocations: 15.98 kB / 0.7239 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1982, allocations: 0 / 0.7239 GB, free: 9.434 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.894e-05/0.1983, allocations: 124.8 kB / 0.724 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1983, allocations: 3.953 kB / 0.7241 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.1983, allocations: 7.312 kB / 0.7241 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1983, allocations: 0 / 0.7241 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.1983, allocations: 4 kB / 0.7241 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1983, allocations: 0 / 0.7241 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.1985, allocations: 136.7 kB / 0.7242 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1985, allocations: 256 / 0.7242 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.1987, allocations: 23.97 kB / 0.7242 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1987, allocations: 3.938 kB / 0.7242 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1987, allocations: 8 kB / 0.7242 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1987, allocations: 3.938 kB / 0.7242 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1987, allocations: 0 / 0.7242 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.1992, allocations: 219.4 kB / 0.7244 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.1992, allocations: 0 / 0.7244 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1992, allocations: 4 kB / 0.7244 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1994, allocations: 15.97 kB / 0.7245 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.1994, allocations: 7.984 kB / 0.7245 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1994, allocations: 0 / 0.7245 GB, free: 8.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.1995, allocations: 87.31 kB / 0.7246 GB, free: 8.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1995, allocations: 0 / 0.7246 GB, free: 8.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00024/0.1997, allocations: 15.94 kB / 0.7246 GB, free: 8.711 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.0009105/0.2006, allocations: 0.7669 MB / 0.7253 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.2011, allocations: 91.94 kB / 0.7254 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2011, allocations: 7.938 kB / 0.7254 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.2013, allocations: 52 kB / 0.7255 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2017, allocations: 7.938 kB / 0.7255 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.2024, allocations: 203 kB / 0.7257 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.031e-05/0.2025, allocations: 59.34 kB / 0.7257 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.599e-05/0.2025, allocations: 8 kB / 0.7257 GB, free: 7.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.2026, allocations: 11.44 kB / 0.7257 GB, free: 7.422 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2026, allocations: 0 / 0.7257 GB, free: 7.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2322, allocations: 2.259 MB / 0.7279 GB, free: 5.309 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.32, allocations: 11.45 kB / 0.728 GB, free: 5.305 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.94463887438178] Failed to read output from testmodel.py, exit status != 0: 11.425542384851724 11.453091846 11.255609158 Calling exit ...