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.001618/0.001618, allocations: 102.8 kB / 16.45 MB, free: 6.387 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.001395/0.001395, allocations: 214.3 kB / 19.43 MB, free: 3.73 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.016 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.9055/0.9055, allocations: 145 MB / 453.8 MB, free: 1.156 MB / 350.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.001978/0.001978, allocations: 74.39 kB / 0.628 GB, free: 10.79 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 87.81 MB / 0.7138 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002815/0.1905, allocations: 1.509 MB / 0.7153 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003345/0.1908, allocations: 116.5 kB / 0.7154 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.1909, allocations: 0 / 0.7154 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.1909, allocations: 3.938 kB / 0.7154 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.191, allocations: 7.922 kB / 0.7154 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1912, allocations: 27.91 kB / 0.7154 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.1913, allocations: 39.91 kB / 0.7155 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.1914, allocations: 11.98 kB / 0.7155 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.921e-05/0.1915, allocations: 15.94 kB / 0.7155 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.1915, allocations: 27.91 kB / 0.7155 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1915, allocations: 4 kB / 0.7155 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.1916, allocations: 19.98 kB / 0.7155 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.1917, allocations: 15.92 kB / 0.7155 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.1917, allocations: 23.86 kB / 0.7156 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1919, allocations: 59.95 kB / 0.7156 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1919, allocations: 0 / 0.7156 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1919, allocations: 0 / 0.7156 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1919, allocations: 0 / 0.7156 GB, free: 1.102 MB / 0.5294 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.0006456/0.1925, allocations: 383.2 kB / 0.716 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1926, allocations: 12.03 kB / 0.716 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.1926, allocations: 30.75 kB / 0.716 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.1926, allocations: 12.89 kB / 0.716 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1928, allocations: 172.3 kB / 0.7162 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1928, allocations: 384 / 0.7162 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1928, allocations: 384 / 0.7162 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.1931, allocations: 82.2 kB / 0.7163 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1931, allocations: 3.938 kB / 0.7163 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1932, allocations: 0 / 0.7163 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1932, allocations: 0 / 0.7163 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.1935, allocations: 79.84 kB / 0.7164 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.1939, allocations: 292.8 kB / 0.7166 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1942, allocations: 66.53 kB / 0.7167 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.1943, allocations: 40.92 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.1946, allocations: 109.1 kB / 0.7169 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1947, allocations: 38.5 kB / 0.7169 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1947, allocations: 3.938 kB / 0.7169 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006071/0.1953, allocations: 145.6 kB / 0.717 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1953, allocations: 59.34 kB / 0.7171 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1954, allocations: 125.8 kB / 0.7172 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1955, allocations: 29.69 kB / 0.7172 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.1955, allocations: 92.09 kB / 0.7173 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.1956, allocations: 11.89 kB / 0.7173 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.1956, allocations: 13.72 kB / 0.7174 GB, free: 15.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1958, allocations: 318.8 kB / 0.7177 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1959, allocations: 39.95 kB / 0.7177 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1961, allocations: 35.97 kB / 0.7177 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.1964, allocations: 80.66 kB / 0.7178 GB, free: 14.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1964, allocations: 0 / 0.7178 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00036/0.1967, allocations: 121.6 kB / 0.7179 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1967, allocations: 4 kB / 0.7179 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1967, allocations: 0 / 0.7179 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1968, allocations: 0 / 0.7179 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1969, allocations: 15.98 kB / 0.7179 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1969, allocations: 0 / 0.7179 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.197, allocations: 19.97 kB / 0.718 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.197, allocations: 0 / 0.718 GB, free: 14.46 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 9.971e-05/0.1971, allocations: 117.8 kB / 0.7181 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1971, allocations: 11.89 kB / 0.7181 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.1975, allocations: 117.5 kB / 0.7182 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1975, allocations: 0 / 0.7182 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1975, allocations: 8 kB / 0.7182 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1975, allocations: 0 / 0.7182 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1978, allocations: 181.6 kB / 0.7184 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1978, allocations: 0 / 0.7184 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/0.1979, allocations: 15.98 kB / 0.7184 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1979, allocations: 0 / 0.7184 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1979, allocations: 4 kB / 0.7184 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1979, allocations: 0 / 0.7184 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1979, allocations: 384 / 0.7184 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.1983, allocations: 219.3 kB / 0.7186 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1984, allocations: 81.11 kB / 0.7187 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1984, allocations: 0 / 0.7187 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1985, allocations: 7.984 kB / 0.7187 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.1985, allocations: 11.92 kB / 0.7187 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1985, allocations: 4 kB / 0.7187 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.017e-05/0.1986, allocations: 99.27 kB / 0.7188 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1986, allocations: 0 / 0.7188 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002357/0.1989, allocations: 15.94 kB / 0.7188 GB, free: 13.48 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.0008244/0.1997, allocations: 0.7474 MB / 0.7195 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.2001, allocations: 79.92 kB / 0.7196 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2001, allocations: 0 / 0.7196 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.2002, allocations: 43.95 kB / 0.7197 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2005, allocations: 0 / 0.7197 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.201, allocations: 202.9 kB / 0.7199 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.2014, allocations: 0.6885 MB / 0.7205 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.2014, allocations: 0 / 0.7205 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.2014, allocations: 19.44 kB / 0.7205 GB, free: 11.61 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2014, allocations: 4 kB / 0.7205 GB, free: 11.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2293, allocations: 1.911 MB / 0.7224 GB, free: 9.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.022, allocations: 6.281 kB / 0.7224 GB, free: 9.797 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear_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_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.783714057994075] Failed to read output from testmodel.py, exit status != 0: 8.09117800500826 8.114025049 7.919117691 Calling exit ...