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.001349/0.001349, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001537/0.001537, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.9411/0.9411, allocations: 145 MB / 453.8 MB, free: 0.707 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.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.001993/0.001993, allocations: 66.16 kB / 0.628 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.185, allocations: 87.83 MB / 0.7137 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004046/0.189, allocations: 2.602 MB / 0.7163 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1903, allocations: 0.7011 MB / 0.717 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1904, allocations: 11.94 kB / 0.717 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1906, allocations: 55.39 kB / 0.717 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1908, allocations: 83.27 kB / 0.7171 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1911, allocations: 103.8 kB / 0.7172 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1914, allocations: 322.7 kB / 0.7175 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.1917, allocations: 125.1 kB / 0.7176 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.1919, allocations: 131.5 kB / 0.7178 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1921, allocations: 131.3 kB / 0.7179 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.1922, allocations: 32 kB / 0.7179 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.1922, allocations: 32 kB / 0.718 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.1923, allocations: 59.77 kB / 0.718 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1924, allocations: 151.2 kB / 0.7182 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.1929, allocations: 350.5 kB / 0.7185 GB, free: 13.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1929, allocations: 0 / 0.7185 GB, free: 13.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1929, allocations: 0 / 0.7185 GB, free: 13.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1929, allocations: 0 / 0.7185 GB, free: 13.98 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.0009393/0.1938, allocations: 0.5805 MB / 0.7191 GB, free: 13.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1939, allocations: 11.97 kB / 0.7191 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.1939, allocations: 58.73 kB / 0.7191 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.1942, allocations: 56.67 kB / 0.7192 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.1947, allocations: 292.6 kB / 0.7195 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1947, allocations: 24.94 kB / 0.7195 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.1947, allocations: 24.38 kB / 0.7195 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.1952, allocations: 217 kB / 0.7197 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1952, allocations: 7.938 kB / 0.7197 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1952, allocations: 4 kB / 0.7197 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1952, allocations: 8 kB / 0.7197 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.1956, allocations: 170.2 kB / 0.7199 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1969, allocations: 0.8719 MB / 0.7207 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.1974, allocations: 118.7 kB / 0.7209 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.1975, allocations: 52.83 kB / 0.7209 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1975, allocations: 0 / 0.7209 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1976, allocations: 34.56 kB / 0.7209 GB, free: 11.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.1976, allocations: 0 / 0.7209 GB, free: 11.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004821/0.198, allocations: 177.5 kB / 0.7211 GB, free: 11.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.1981, allocations: 51.41 kB / 0.7212 GB, free: 11.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.1984, allocations: 287.3 kB / 0.7214 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1984, allocations: 29.7 kB / 0.7215 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1985, allocations: 176.3 kB / 0.7216 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.1986, allocations: 35.67 kB / 0.7217 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.1986, allocations: 25.67 kB / 0.7217 GB, free: 10.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1988, allocations: 334.8 kB / 0.722 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1989, allocations: 43.91 kB / 0.722 GB, free: 10.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.199, allocations: 47.92 kB / 0.7221 GB, free: 10.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1992, allocations: 80.77 kB / 0.7222 GB, free: 9.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1992, allocations: 0 / 0.7222 GB, free: 9.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002987/0.1995, allocations: 137.5 kB / 0.7223 GB, free: 9.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1995, allocations: 8 kB / 0.7223 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1996, allocations: 3.984 kB / 0.7223 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1996, allocations: 0 / 0.7223 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1997, allocations: 27.92 kB / 0.7223 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1997, allocations: 7.938 kB / 0.7223 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1999, allocations: 27.88 kB / 0.7224 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1999, allocations: 0 / 0.7224 GB, free: 9.73 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.0001315/0.2, allocations: 129.8 kB / 0.7225 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.2001, allocations: 27.81 kB / 0.7225 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.2001, allocations: 29.83 kB / 0.7226 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2001, allocations: 0 / 0.7226 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2001, allocations: 7.938 kB / 0.7226 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2001, allocations: 3.938 kB / 0.7226 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.2005, allocations: 289.5 kB / 0.7228 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2005, allocations: 0 / 0.7228 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2006, allocations: 23.92 kB / 0.7229 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2006, allocations: 0 / 0.7229 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2006, allocations: 4 kB / 0.7229 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2006, allocations: 0 / 0.7229 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2006, allocations: 3.938 kB / 0.7229 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.201, allocations: 239.6 kB / 0.7231 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.201, allocations: 105 kB / 0.7232 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.2011, allocations: 7.938 kB / 0.7232 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2012, allocations: 7.984 kB / 0.7232 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.2013, allocations: 15.92 kB / 0.7232 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2013, allocations: 4 kB / 0.7232 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002102/0.2015, allocations: 206 kB / 0.7234 GB, free: 8.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2015, allocations: 0 / 0.7234 GB, free: 8.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002863/0.2018, allocations: 47.89 kB / 0.7235 GB, free: 8.504 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.0006342/0.2024, allocations: 0.7591 MB / 0.7242 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.2027, allocations: 95.89 kB / 0.7243 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2027, allocations: 0 / 0.7243 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2029, allocations: 51.91 kB / 0.7244 GB, free: 7.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2032, allocations: 36.58 kB / 0.7244 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.2062, allocations: 2.224 MB / 0.7266 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.2066, allocations: 0.7518 MB / 0.7273 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.2067, allocations: 25.94 kB / 0.7273 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2068, allocations: 83.41 kB / 0.7274 GB, free: 4.348 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.2068, allocations: 0 / 0.7274 GB, free: 4.348 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2374, allocations: 4.613 MB / 0.7319 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.441, allocations: 14.25 kB / 0.7319 GB, free: 15.86 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.22879231099796] Failed to read output from testmodel.py, exit status != 0: 8.514990662995842 8.540822309 8.343261737 Calling exit ...