Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.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.001728/0.001728, allocations: 114.5 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.002163/0.002163, allocations: 217.2 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.012 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.9402/0.9402, allocations: 145 MB / 457.4 MB, free: 15.53 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.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",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.002033/0.002033, allocations: 62.38 kB / 0.6331 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1856, allocations: 87.89 MB / 0.7189 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003927/0.1896, allocations: 2.617 MB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1908, allocations: 0.7089 MB / 0.7222 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1909, allocations: 11.94 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1911, allocations: 55.39 kB / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1913, allocations: 71.34 kB / 0.7223 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1916, allocations: 111.8 kB / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.192, allocations: 326.6 kB / 0.7227 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.1922, allocations: 125.7 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1924, allocations: 127.6 kB / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1926, allocations: 135.3 kB / 0.7231 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.1927, allocations: 28 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.1927, allocations: 31.94 kB / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.1928, allocations: 63.77 kB / 0.7232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1929, allocations: 143.3 kB / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.1933, allocations: 362.4 kB / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1933, allocations: 0 / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1933, allocations: 0 / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.1933, allocations: 0 / 0.7237 GB, free: 10.55 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008254/0.1942, allocations: 0.5051 MB / 0.7242 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1942, allocations: 11.97 kB / 0.7242 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.31e-05/0.1943, allocations: 58.73 kB / 0.7243 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.1945, allocations: 56.67 kB / 0.7243 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1949, allocations: 227.1 kB / 0.7245 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1949, allocations: 20.88 kB / 0.7246 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.195, allocations: 24.38 kB / 0.7246 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.1954, allocations: 220.1 kB / 0.7248 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1954, allocations: 0 / 0.7248 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1954, allocations: 12 kB / 0.7248 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1954, allocations: 4 kB / 0.7248 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.1958, allocations: 165.9 kB / 0.725 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.197, allocations: 0.8369 MB / 0.7258 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.1974, allocations: 110.7 kB / 0.7259 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1975, allocations: 48.84 kB / 0.7259 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1975, allocations: 7.984 kB / 0.726 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1976, allocations: 34.56 kB / 0.726 GB, free: 8.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1976, allocations: 0 / 0.726 GB, free: 8.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004526/0.198, allocations: 169.9 kB / 0.7261 GB, free: 7.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.1981, allocations: 63.48 kB / 0.7262 GB, free: 7.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1984, allocations: 288.4 kB / 0.7265 GB, free: 7.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1984, allocations: 29.7 kB / 0.7265 GB, free: 7.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1985, allocations: 176.2 kB / 0.7267 GB, free: 7.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1985, allocations: 31.73 kB / 0.7267 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.1986, allocations: 29.66 kB / 0.7267 GB, free: 7.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1987, allocations: 334.8 kB / 0.7271 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1989, allocations: 35.98 kB / 0.7271 GB, free: 6.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.199, allocations: 39.98 kB / 0.7271 GB, free: 6.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1992, allocations: 92.92 kB / 0.7272 GB, free: 6.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1992, allocations: 0 / 0.7272 GB, free: 6.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002928/0.1995, allocations: 141.5 kB / 0.7274 GB, free: 6.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1995, allocations: 4 kB / 0.7274 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1995, allocations: 0 / 0.7274 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1995, allocations: 4 kB / 0.7274 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1996, allocations: 23.98 kB / 0.7274 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1996, allocations: 3.938 kB / 0.7274 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1998, allocations: 27.81 kB / 0.7274 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1998, allocations: 4 kB / 0.7274 GB, free: 6.531 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: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001299/0.1999, allocations: 137.8 kB / 0.7275 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.2, allocations: 23.81 kB / 0.7276 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.2, allocations: 33.77 kB / 0.7276 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2, allocations: 4 kB / 0.7276 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2, allocations: 7.938 kB / 0.7276 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2, allocations: 3.984 kB / 0.7276 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2004, allocations: 256.6 kB / 0.7279 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2004, allocations: 0 / 0.7279 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2005, allocations: 23.92 kB / 0.7279 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2005, allocations: 0 / 0.7279 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2005, allocations: 4 kB / 0.7279 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2005, allocations: 0 / 0.7279 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2005, allocations: 7.938 kB / 0.7279 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2008, allocations: 235.3 kB / 0.7281 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.2009, allocations: 23.84 kB / 0.7281 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2009, allocations: 0 / 0.7281 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.201, allocations: 16.08 kB / 0.7282 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2011, allocations: 15.86 kB / 0.7282 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2011, allocations: 4 kB / 0.7282 GB, free: 5.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002059/0.2013, allocations: 207.1 kB / 0.7284 GB, free: 5.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2013, allocations: 0 / 0.7284 GB, free: 5.477 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002722/0.2016, allocations: 51.89 kB / 0.7284 GB, free: 5.426 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: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006073/0.2022, allocations: 0.7669 MB / 0.7292 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.2025, allocations: 87.89 kB / 0.7293 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2025, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.2026, allocations: 51.91 kB / 0.7293 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.203, allocations: 48.56 kB / 0.7294 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.2057, allocations: 2.217 MB / 0.7315 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.2061, allocations: 0.748 MB / 0.7322 GB, free: 1.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.2062, allocations: 33.81 kB / 0.7323 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2063, allocations: 87.39 kB / 0.7324 GB, free: 1.258 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.2063, allocations: 0 / 0.7324 GB, free: 1.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.2386, allocations: 4.747 MB / 0.737 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.03, allocations: 3.938 kB / 0.737 GB, free: 12.68 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.252275451999594] Failed to read output from testmodel.py, exit status != 0: 12.134573502000421 12.49666743 11.954008695 Calling exit ...