Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.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.001366/0.001366, 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.001857/0.001857, 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.789 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.9386/0.9386, allocations: 145 MB / 457.4 MB, free: 15.27 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.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.002169/0.002169, allocations: 66.78 kB / 0.6331 GB, free: 6.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1821, allocations: 87.88 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.00287/0.185, allocations: 1.494 MB / 0.7204 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003769/0.1853, allocations: 112.6 kB / 0.7205 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.1854, allocations: 0 / 0.7205 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.143e-05/0.1854, allocations: 3.938 kB / 0.7205 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.1855, allocations: 11.92 kB / 0.7205 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1857, allocations: 23.91 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.149e-05/0.1858, allocations: 39.91 kB / 0.7206 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.1859, allocations: 4 kB / 0.7206 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.186, allocations: 23.92 kB / 0.7206 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.186, allocations: 15.92 kB / 0.7206 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1861, allocations: 4 kB / 0.7206 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.1861, allocations: 23.97 kB / 0.7206 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.1862, allocations: 19.92 kB / 0.7206 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.1862, allocations: 23.8 kB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1864, allocations: 55.81 kB / 0.7207 GB, free: 12.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1864, allocations: 0 / 0.7207 GB, free: 12.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1864, allocations: 0 / 0.7207 GB, free: 12.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1864, allocations: 0 / 0.7207 GB, free: 12.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005548/0.1869, allocations: 302 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.187, allocations: 8.031 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1871, allocations: 42.75 kB / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.1871, allocations: 4.891 kB / 0.7211 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1873, allocations: 129.5 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1873, allocations: 384 / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1873, allocations: 384 / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1876, allocations: 78.22 kB / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1876, allocations: 11.86 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1876, allocations: 4 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1876, allocations: 0 / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1879, allocations: 75.92 kB / 0.7213 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1883, allocations: 251.9 kB / 0.7216 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1885, allocations: 62.53 kB / 0.7216 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1887, allocations: 48.86 kB / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.1889, allocations: 35.97 kB / 0.7217 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1889, allocations: 30.56 kB / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1889, allocations: 0 / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.1895, allocations: 145.5 kB / 0.7219 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1895, allocations: 55.41 kB / 0.722 GB, free: 11.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1896, allocations: 125.8 kB / 0.7221 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1896, allocations: 29.7 kB / 0.7221 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.1897, allocations: 92.08 kB / 0.7222 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1897, allocations: 11.95 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1898, allocations: 9.719 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1899, allocations: 322.8 kB / 0.7225 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1901, allocations: 39.91 kB / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1902, allocations: 39.95 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1905, allocations: 76.72 kB / 0.7227 GB, free: 10.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1905, allocations: 0 / 0.7227 GB, free: 10.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003381/0.1908, allocations: 121.6 kB / 0.7228 GB, free: 10.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1908, allocations: 6.188 kB / 0.7228 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1908, allocations: 0 / 0.7228 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1909, allocations: 0 / 0.7228 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.191, allocations: 15.98 kB / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.191, allocations: 0 / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.1911, allocations: 15.92 kB / 0.7228 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1911, allocations: 7.938 kB / 0.7228 GB, free: 10.64 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 (3): * Single equations (assignments): 3 * 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.0001058/0.1912, allocations: 125.8 kB / 0.7229 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1912, allocations: 7.953 kB / 0.723 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.1916, allocations: 117.5 kB / 0.7231 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1916, allocations: 0 / 0.7231 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1916, allocations: 0 / 0.7231 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1916, allocations: 384 / 0.7231 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1918, allocations: 152.7 kB / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1918, allocations: 0 / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.1919, allocations: 11.98 kB / 0.7232 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1919, allocations: 4 kB / 0.7232 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1919, allocations: 3.984 kB / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1919, allocations: 0 / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1919, allocations: 3.938 kB / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.1923, allocations: 215.4 kB / 0.7234 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.1923, allocations: 11.98 kB / 0.7234 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1923, allocations: 0 / 0.7234 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1924, allocations: 11.98 kB / 0.7235 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1925, allocations: 3.984 kB / 0.7235 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1925, allocations: 4 kB / 0.7235 GB, free: 9.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.1926, allocations: 99.27 kB / 0.7236 GB, free: 9.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1926, allocations: 0 / 0.7236 GB, free: 9.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002246/0.1928, allocations: 8 kB / 0.7236 GB, free: 9.797 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 (3): * Single equations (assignments): 3 * 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.0007484/0.1935, allocations: 0.7513 MB / 0.7243 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1939, allocations: 83.91 kB / 0.7244 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1939, allocations: 0 / 0.7244 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1941, allocations: 39.97 kB / 0.7244 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1943, allocations: 5.203 kB / 0.7244 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.1949, allocations: 202.9 kB / 0.7246 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.567e-05/0.195, allocations: 71.33 kB / 0.7247 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.195, allocations: 0 / 0.7247 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.195, allocations: 23.42 kB / 0.7247 GB, free: 8.543 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.195, allocations: 4 kB / 0.7247 GB, free: 8.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.2256, allocations: 2.462 MB / 0.7271 GB, free: 6.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.34, allocations: 9.125 kB / 0.7271 GB, free: 6.227 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.053670452907681] Failed to read output from testmodel.py, exit status != 0: 11.45182434702292 11.478639744 11.287516302 Calling exit ...