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.00152/0.00152, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001838/0.001838, allocations: 210 kB / 22.25 MB, free: 5.082 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8 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.9586/0.9586, allocations: 145 MB / 457.4 MB, free: 15.48 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.002024/0.002024, allocations: 67.08 kB / 0.6332 GB, free: 7.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.185, allocations: 87.88 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.004379/0.1894, allocations: 1.505 MB / 0.7205 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000415/0.1898, allocations: 112.5 kB / 0.7206 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.1899, allocations: 4 kB / 0.7206 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.91e-05/0.1899, allocations: 11.86 kB / 0.7206 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.19, allocations: 7.922 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1903, allocations: 27.97 kB / 0.7206 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1904, allocations: 43.8 kB / 0.7207 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1905, allocations: 11.98 kB / 0.7207 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.1906, allocations: 12 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.1906, allocations: 27.84 kB / 0.7207 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1907, allocations: 4 kB / 0.7207 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.1908, allocations: 19.98 kB / 0.7207 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.1908, allocations: 15.97 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1909, allocations: 19.88 kB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.191, allocations: 59.73 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.191, allocations: 4 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/0.191, allocations: 0 / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.191, allocations: 0 / 0.7208 GB, free: 13.52 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.0008341/0.1919, allocations: 298.1 kB / 0.7211 GB, free: 13.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1919, allocations: 12.03 kB / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.192, allocations: 38.67 kB / 0.7212 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.192, allocations: 8.891 kB / 0.7212 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.1922, allocations: 118.4 kB / 0.7213 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1922, allocations: 4.375 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1922, allocations: 4.375 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.1926, allocations: 82.2 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1926, allocations: 3.938 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1926, allocations: 0 / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1926, allocations: 3.938 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.1931, allocations: 75.92 kB / 0.7215 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.1937, allocations: 259.9 kB / 0.7217 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.194, allocations: 62.53 kB / 0.7218 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.1943, allocations: 48.91 kB / 0.7218 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/0.1946, allocations: 31.97 kB / 0.7218 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.1946, allocations: 30.56 kB / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1946, allocations: 0 / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0009346/0.1955, allocations: 149.5 kB / 0.722 GB, free: 12.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1956, allocations: 51.41 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1958, allocations: 129 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1958, allocations: 25.7 kB / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.1959, allocations: 96.09 kB / 0.7223 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1959, allocations: 7.938 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.196, allocations: 21.72 kB / 0.7223 GB, free: 11.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.1962, allocations: 318.8 kB / 0.7226 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.1965, allocations: 35.95 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1967, allocations: 39.89 kB / 0.7227 GB, free: 11.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.1973, allocations: 84.72 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1973, allocations: 0 / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006021/0.1979, allocations: 109.5 kB / 0.7229 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1979, allocations: 4 kB / 0.7229 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1979, allocations: 0 / 0.7229 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1979, allocations: 4.328 kB / 0.7229 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.1981, allocations: 23.97 kB / 0.7229 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1981, allocations: 0 / 0.7229 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1983, allocations: 11.98 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1983, allocations: 0 / 0.7229 GB, free: 11.18 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.0001426/0.1984, allocations: 117.8 kB / 0.723 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.1985, allocations: 15.92 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.1991, allocations: 121.5 kB / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1991, allocations: 0 / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1991, allocations: 0 / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1991, allocations: 0 / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.1995, allocations: 156.7 kB / 0.7233 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1995, allocations: 0 / 0.7233 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.1996, allocations: 19.92 kB / 0.7233 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1996, allocations: 0 / 0.7233 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1996, allocations: 4 kB / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1996, allocations: 3.984 kB / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1997, allocations: 0 / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.2003, allocations: 211.3 kB / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.2004, allocations: 11.92 kB / 0.7236 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2004, allocations: 8 kB / 0.7236 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.2006, allocations: 11.98 kB / 0.7236 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.2006, allocations: 4 kB / 0.7236 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2007, allocations: 0 / 0.7236 GB, free: 10.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001152/0.2008, allocations: 103.2 kB / 0.7237 GB, free: 10.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2008, allocations: 0 / 0.7237 GB, free: 10.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004358/0.2012, allocations: 8 kB / 0.7237 GB, free: 10.31 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.001152/0.2024, allocations: 0.7397 MB / 0.7244 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.203, allocations: 87.86 kB / 0.7245 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.203, allocations: 0 / 0.7245 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.2033, allocations: 39.95 kB / 0.7245 GB, free: 9.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.2037, allocations: 3.938 kB / 0.7245 GB, free: 9.418 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.2045, allocations: 195 kB / 0.7247 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.2049, allocations: 0.6924 MB / 0.7254 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.09e-05/0.205, allocations: 4 kB / 0.7254 GB, free: 8.465 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.2051, allocations: 19.42 kB / 0.7254 GB, free: 8.449 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2051, allocations: 0 / 0.7254 GB, free: 8.449 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.2365, allocations: 2.019 MB / 0.7274 GB, free: 6.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 12.58 kB / 0.7274 GB, free: 6.555 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.033807875821367] Failed to read output from testmodel.py, exit status != 0: 11.32660290109925 11.346554565 11.151987987 Calling exit ...