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.001393/0.001393, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001944/0.001944, allocations: 215.3 kB / 23.03 MB, free: 4.922 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.96/0.96, allocations: 145 MB / 458.2 MB, free: 15.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="cs",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.002171/0.002171, allocations: 65.12 kB / 0.6338 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1877, allocations: 87.89 MB / 0.7196 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004577/0.1923, allocations: 2.433 MB / 0.722 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1938, allocations: 0.6739 MB / 0.7227 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.194, allocations: 11.88 kB / 0.7227 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1943, allocations: 51.45 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.1946, allocations: 71.28 kB / 0.7228 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1949, allocations: 111.9 kB / 0.7229 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.1954, allocations: 326.6 kB / 0.7232 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.1957, allocations: 125.7 kB / 0.7233 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.196, allocations: 127.5 kB / 0.7235 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.1962, allocations: 135.3 kB / 0.7236 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.1963, allocations: 28 kB / 0.7236 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.1964, allocations: 32 kB / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.1964, allocations: 59.78 kB / 0.7237 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1966, allocations: 115.5 kB / 0.7238 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.197, allocations: 362.5 kB / 0.7242 GB, free: 10.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.197, allocations: 0 / 0.7242 GB, free: 10.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.197, allocations: 0 / 0.7242 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.197, allocations: 0 / 0.7242 GB, free: 10.23 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.0009332/0.1979, allocations: 0.5112 MB / 0.7247 GB, free: 9.688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.198, allocations: 8.031 kB / 0.7247 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.198, allocations: 8.688 kB / 0.7247 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/0.1981, allocations: 62.66 kB / 0.7247 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.1983, allocations: 52.69 kB / 0.7248 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.1988, allocations: 231.1 kB / 0.725 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.1988, allocations: 20.88 kB / 0.725 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.1988, allocations: 20.38 kB / 0.725 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.1993, allocations: 224 kB / 0.7253 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1993, allocations: 0 / 0.7253 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1994, allocations: 11.94 kB / 0.7253 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1994, allocations: 8 kB / 0.7253 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.1997, allocations: 165.9 kB / 0.7254 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.201, allocations: 0.6356 MB / 0.7261 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.2014, allocations: 110.9 kB / 0.7262 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.2015, allocations: 56.77 kB / 0.7262 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2015, allocations: 0 / 0.7262 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2016, allocations: 34.56 kB / 0.7262 GB, free: 7.945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.2016, allocations: 0 / 0.7262 GB, free: 7.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005246/0.2021, allocations: 169.4 kB / 0.7264 GB, free: 7.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.2022, allocations: 63.34 kB / 0.7265 GB, free: 7.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.2025, allocations: 284.6 kB / 0.7267 GB, free: 7.418 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2025, allocations: 25.7 kB / 0.7268 GB, free: 7.387 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2027, allocations: 168.3 kB / 0.7269 GB, free: 7.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.2027, allocations: 35.67 kB / 0.727 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.2028, allocations: 33.66 kB / 0.727 GB, free: 7.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2029, allocations: 330.8 kB / 0.7273 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.203, allocations: 35.98 kB / 0.7273 GB, free: 6.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.2031, allocations: 35.98 kB / 0.7274 GB, free: 6.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.2033, allocations: 96.7 kB / 0.7275 GB, free: 6.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2033, allocations: 0 / 0.7275 GB, free: 6.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003022/0.2036, allocations: 133.7 kB / 0.7276 GB, free: 6.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2037, allocations: 8 kB / 0.7276 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2037, allocations: 0 / 0.7276 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2037, allocations: 3.984 kB / 0.7276 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.2038, allocations: 31.97 kB / 0.7276 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2038, allocations: 3.938 kB / 0.7276 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.204, allocations: 23.89 kB / 0.7277 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.204, allocations: 3.984 kB / 0.7277 GB, free: 6.434 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.0001379/0.2041, allocations: 138.2 kB / 0.7278 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.2042, allocations: 27.81 kB / 0.7278 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.245e-05/0.2042, allocations: 29.83 kB / 0.7279 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2042, allocations: 3.938 kB / 0.7279 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2043, allocations: 7.875 kB / 0.7279 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2043, allocations: 0 / 0.7279 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.2046, allocations: 236.6 kB / 0.7281 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2046, allocations: 0 / 0.7281 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.2047, allocations: 23.98 kB / 0.7281 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2047, allocations: 0 / 0.7281 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2047, allocations: 4 kB / 0.7281 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2047, allocations: 0 / 0.7281 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2047, allocations: 3.938 kB / 0.7281 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.2051, allocations: 235.3 kB / 0.7283 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.2051, allocations: 31.78 kB / 0.7284 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.2051, allocations: 0 / 0.7284 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2053, allocations: 15.98 kB / 0.7284 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.2053, allocations: 15.92 kB / 0.7284 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2053, allocations: 3.938 kB / 0.7284 GB, free: 5.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002116/0.2056, allocations: 207.1 kB / 0.7286 GB, free: 5.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2056, allocations: 0 / 0.7286 GB, free: 5.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002987/0.2059, allocations: 47.89 kB / 0.7287 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.0006539/0.2065, allocations: 0.763 MB / 0.7294 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.2068, allocations: 95.94 kB / 0.7295 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2068, allocations: 4 kB / 0.7295 GB, free: 4.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2069, allocations: 44.09 kB / 0.7295 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2073, allocations: 44.56 kB / 0.7296 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.2102, allocations: 2.225 MB / 0.7318 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2103, allocations: 142.9 kB / 0.7319 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.2104, allocations: 25.92 kB / 0.7319 GB, free: 1.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2106, allocations: 87.34 kB / 0.732 GB, free: 1.805 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2106, allocations: 0 / 0.732 GB, free: 1.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.2375, allocations: 5.006 MB / 0.7369 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.8, allocations: 6.906 kB / 0.7369 GB, free: 13.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.87414828594774] Failed to read output from testmodel.py, exit status != 0: 11.971201352076605 12.282866812 11.801465908 Calling exit ...