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.001734/0.001734, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002091/0.002091, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9303/0.9303, allocations: 145 MB / 458.2 MB, free: 15.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",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.002024/0.002024, allocations: 69.28 kB / 0.6339 GB, free: 7.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1743, allocations: 87.89 MB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002551/0.1768, allocations: 1.459 MB / 0.7212 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1781, allocations: 0.8497 MB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1781, allocations: 0 / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.1781, allocations: 0 / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.1782, allocations: 3.938 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.1786, allocations: 135.5 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.878e-05/0.1787, allocations: 31.92 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.193e-05/0.1787, allocations: 3.984 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.1788, allocations: 15.94 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.1788, allocations: 19.97 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1788, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.1793, allocations: 323.4 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.1793, allocations: 11.92 kB / 0.7225 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.1794, allocations: 12 kB / 0.7226 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.1797, allocations: 195.5 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1797, allocations: 3.984 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1797, allocations: 0 / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1797, allocations: 0 / 0.7227 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.0004846/0.1802, allocations: 304 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1802, allocations: 8.031 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.1802, allocations: 192 / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.1802, allocations: 38.75 kB / 0.7231 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.1807, allocations: 72.78 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.308e-05/0.1808, allocations: 110.5 kB / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1808, allocations: 384 / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1808, allocations: 384 / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1811, allocations: 85.56 kB / 0.7233 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1811, allocations: 4 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1811, allocations: 0 / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1811, allocations: 4 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.1816, allocations: 91.89 kB / 0.7234 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.1821, allocations: 276.5 kB / 0.7237 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.1825, allocations: 90.5 kB / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.1827, allocations: 52.88 kB / 0.7238 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1827, allocations: 0 / 0.7238 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1827, allocations: 38.56 kB / 0.7239 GB, free: 11.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.1827, allocations: 0 / 0.7239 GB, free: 11.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007325/0.1834, allocations: 173.6 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1835, allocations: 55.34 kB / 0.7241 GB, free: 10.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.1836, allocations: 97.84 kB / 0.7242 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1836, allocations: 29.7 kB / 0.7242 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.1836, allocations: 84.14 kB / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1836, allocations: 7.984 kB / 0.7243 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.1837, allocations: 21.7 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1838, allocations: 314.8 kB / 0.7246 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.184, allocations: 39.95 kB / 0.7247 GB, free: 10.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1842, allocations: 55.89 kB / 0.7247 GB, free: 10.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.1846, allocations: 88.83 kB / 0.7248 GB, free: 10.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1846, allocations: 0 / 0.7248 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004575/0.1851, allocations: 125.5 kB / 0.7249 GB, free: 9.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1851, allocations: 4 kB / 0.7249 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1851, allocations: 0 / 0.7249 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1851, allocations: 4.031 kB / 0.7249 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1853, allocations: 23.97 kB / 0.7249 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1853, allocations: 0 / 0.7249 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1854, allocations: 23.95 kB / 0.725 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1854, allocations: 0 / 0.725 GB, free: 9.852 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 8.651e-05/0.1855, allocations: 117.8 kB / 0.7251 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.1855, allocations: 7.953 kB / 0.7251 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.1856, allocations: 3.312 kB / 0.7251 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1856, allocations: 0 / 0.7251 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1856, allocations: 0 / 0.7251 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1856, allocations: 0 / 0.7251 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1858, allocations: 144.7 kB / 0.7252 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1858, allocations: 0 / 0.7252 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1859, allocations: 27.97 kB / 0.7253 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1859, allocations: 0 / 0.7253 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1859, allocations: 0 / 0.7253 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1859, allocations: 0 / 0.7253 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.1859, allocations: 0 / 0.7253 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.1864, allocations: 223.3 kB / 0.7255 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.1864, allocations: 4 kB / 0.7255 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1865, allocations: 0 / 0.7255 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1866, allocations: 24.25 kB / 0.7255 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.1866, allocations: 0 / 0.7255 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1866, allocations: 11.98 kB / 0.7255 GB, free: 9.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.1867, allocations: 79.28 kB / 0.7256 GB, free: 9.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1867, allocations: 0 / 0.7256 GB, free: 9.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002388/0.1869, allocations: 15.94 kB / 0.7256 GB, free: 9.133 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.0009868/0.1879, allocations: 0.7707 MB / 0.7264 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.1884, allocations: 95.88 kB / 0.7264 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1884, allocations: 0 / 0.7264 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.1886, allocations: 48.02 kB / 0.7265 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.189, allocations: 11.98 kB / 0.7265 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.1899, allocations: 203 kB / 0.7267 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1903, allocations: 0.6768 MB / 0.7274 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.362e-05/0.1903, allocations: 8 kB / 0.7274 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.1904, allocations: 7.438 kB / 0.7274 GB, free: 7.227 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1904, allocations: 0 / 0.7274 GB, free: 7.227 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.2116, allocations: 1.841 MB / 0.7292 GB, free: 5.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.1, allocations: 8.844 kB / 0.7292 GB, free: 5.539 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.896649266942404] Failed to read output from testmodel.py, exit status != 0: 11.253791290917434 11.270854802 11.087813663 Calling exit ...