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: 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.001527/0.001527, allocations: 214 kB / 22.25 MB, free: 4.855 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.797 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.9787/0.9787, allocations: 145 MB / 457.4 MB, free: 15.29 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.0024/0.0024, allocations: 67.86 kB / 0.633 GB, free: 6.742 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1813, allocations: 87.89 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004428/0.1857, allocations: 2.434 MB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1872, allocations: 0.6661 MB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.1875, allocations: 11.94 kB / 0.7219 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1877, allocations: 51.39 kB / 0.722 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1879, allocations: 83.27 kB / 0.722 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1883, allocations: 99.89 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.1887, allocations: 326.6 kB / 0.7224 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.189, allocations: 117.7 kB / 0.7226 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.1893, allocations: 131.5 kB / 0.7227 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.1895, allocations: 119.3 kB / 0.7228 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.1896, allocations: 32 kB / 0.7228 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.519e-05/0.1897, allocations: 28 kB / 0.7229 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.1897, allocations: 59.78 kB / 0.7229 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1899, allocations: 123.4 kB / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.1903, allocations: 358.5 kB / 0.7234 GB, free: 10.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1903, allocations: 0 / 0.7234 GB, free: 10.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1903, allocations: 0 / 0.7234 GB, free: 10.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1903, allocations: 0 / 0.7234 GB, free: 10.22 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.0009012/0.1912, allocations: 0.5051 MB / 0.7239 GB, free: 9.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1913, allocations: 8.031 kB / 0.7239 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.13e-05/0.1913, allocations: 62.72 kB / 0.7239 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.1916, allocations: 56.62 kB / 0.724 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.192, allocations: 231 kB / 0.7242 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.192, allocations: 24.88 kB / 0.7242 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.1921, allocations: 28.36 kB / 0.7243 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.1925, allocations: 216.2 kB / 0.7245 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1925, allocations: 0 / 0.7245 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1925, allocations: 12 kB / 0.7245 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1925, allocations: 4 kB / 0.7245 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.1929, allocations: 161.9 kB / 0.7246 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1941, allocations: 0.6395 MB / 0.7253 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.1945, allocations: 118.7 kB / 0.7254 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1947, allocations: 48.83 kB / 0.7254 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1947, allocations: 4.125 kB / 0.7254 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1947, allocations: 30.56 kB / 0.7255 GB, free: 7.945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1947, allocations: 4 kB / 0.7255 GB, free: 7.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004809/0.1952, allocations: 177.4 kB / 0.7256 GB, free: 7.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1953, allocations: 51.41 kB / 0.7257 GB, free: 7.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1956, allocations: 288.5 kB / 0.7259 GB, free: 7.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1956, allocations: 25.7 kB / 0.726 GB, free: 7.383 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1957, allocations: 180.2 kB / 0.7261 GB, free: 7.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1958, allocations: 35.64 kB / 0.7262 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.1958, allocations: 25.7 kB / 0.7262 GB, free: 7.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.196, allocations: 334.8 kB / 0.7265 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1961, allocations: 35.98 kB / 0.7266 GB, free: 6.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.1962, allocations: 35.98 kB / 0.7266 GB, free: 6.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1964, allocations: 84.83 kB / 0.7267 GB, free: 6.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1964, allocations: 0 / 0.7267 GB, free: 6.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003006/0.1967, allocations: 145.6 kB / 0.7268 GB, free: 6.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1967, allocations: 6.656 kB / 0.7268 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1967, allocations: 384 / 0.7268 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1967, allocations: 4 kB / 0.7268 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1969, allocations: 27.97 kB / 0.7268 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1969, allocations: 3.938 kB / 0.7269 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.197, allocations: 27.77 kB / 0.7269 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1971, allocations: 8 kB / 0.7269 GB, free: 6.422 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.0001419/0.1972, allocations: 133.8 kB / 0.727 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.1973, allocations: 23.86 kB / 0.727 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.1973, allocations: 25.83 kB / 0.7271 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1973, allocations: 4 kB / 0.7271 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1973, allocations: 3.938 kB / 0.7271 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1973, allocations: 4 kB / 0.7271 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.1976, allocations: 236.6 kB / 0.7273 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1976, allocations: 0 / 0.7273 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1978, allocations: 19.98 kB / 0.7273 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1978, allocations: 0 / 0.7273 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1978, allocations: 4 kB / 0.7273 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1978, allocations: 4 kB / 0.7273 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1978, allocations: 3.938 kB / 0.7273 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1981, allocations: 239.3 kB / 0.7276 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1982, allocations: 35.77 kB / 0.7276 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1982, allocations: 0 / 0.7276 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1984, allocations: 11.98 kB / 0.7276 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1984, allocations: 11.92 kB / 0.7276 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1984, allocations: 4 kB / 0.7276 GB, free: 5.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002128/0.1986, allocations: 207.1 kB / 0.7278 GB, free: 5.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1986, allocations: 0 / 0.7278 GB, free: 5.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002766/0.1989, allocations: 47.89 kB / 0.7279 GB, free: 5.352 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.0006333/0.1996, allocations: 0.775 MB / 0.7286 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.1998, allocations: 99.7 kB / 0.7287 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1998, allocations: 0 / 0.7287 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1999, allocations: 47.97 kB / 0.7288 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2003, allocations: 44.56 kB / 0.7288 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.2032, allocations: 2.214 MB / 0.731 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.2034, allocations: 146.8 kB / 0.7311 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.2035, allocations: 25.94 kB / 0.7311 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2036, allocations: 83.41 kB / 0.7312 GB, free: 1.797 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.2036, allocations: 0 / 0.7312 GB, free: 1.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.2372, allocations: 5.361 MB / 0.7364 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.42, allocations: 4.906 kB / 0.7364 GB, free: 12.63 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: 15.680046326946467] Failed to read output from testmodel.py, exit status != 0: 11.528278012759984 11.817311706 11.350422106 Calling exit ...