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.0007685/0.0007685, allocations: 76.45 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007742/0.0007742, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.923/0.923, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.5624/0.5624, allocations: 110.2 MB / 369.4 MB, free: 12.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 7.875 kB / 0.5472 GB, free: 8.805 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.54e-05, allocations: 2.281 kB / 0.5472 GB, free: 8.801 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002525/0.002541, allocations: 2.427 MB / 0.5496 GB, free: 6.355 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.003488, allocations: 0.666 MB / 0.5502 GB, free: 5.684 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.003624, allocations: 11.94 kB / 0.5503 GB, free: 5.672 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.003767, allocations: 55.39 kB / 0.5503 GB, free: 5.617 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.003884, allocations: 75.22 kB / 0.5504 GB, free: 5.543 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.004122, allocations: 103.9 kB / 0.5505 GB, free: 5.441 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.004375, allocations: 342.3 kB / 0.5508 GB, free: 5.105 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.004567, allocations: 121.6 kB / 0.5509 GB, free: 4.984 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.004787, allocations: 191.6 kB / 0.5511 GB, free: 4.797 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004888, allocations: 91.7 kB / 0.5512 GB, free: 4.707 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.004917, allocations: 28 kB / 0.5512 GB, free: 4.68 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.172e-05/0.004968, allocations: 28 kB / 0.5512 GB, free: 4.652 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.005001, allocations: 63.75 kB / 0.5513 GB, free: 4.59 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.005062, allocations: 99.7 kB / 0.5514 GB, free: 4.492 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.005336, allocations: 358.8 kB / 0.5517 GB, free: 4.141 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005338, allocations: 0 / 0.5517 GB, free: 4.141 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005339, allocations: 0 / 0.5517 GB, free: 4.141 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.005344, allocations: 3.938 kB / 0.5517 GB, free: 4.137 MB / 474.7 MB 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.000548/0.005892, allocations: 0.5013 MB / 0.5522 GB, free: 3.605 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.005932, allocations: 12.03 kB / 0.5522 GB, free: 3.594 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.005979, allocations: 62.72 kB / 0.5523 GB, free: 3.523 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.006111, allocations: 52.69 kB / 0.5524 GB, free: 3.473 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.006374, allocations: 226.3 kB / 0.5526 GB, free: 3.223 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.006393, allocations: 20.88 kB / 0.5526 GB, free: 3.203 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.006419, allocations: 32.31 kB / 0.5526 GB, free: 3.172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.006694, allocations: 220.6 kB / 0.5528 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.006704, allocations: 4.172 kB / 0.5528 GB, free: 2.949 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.006719, allocations: 12.12 kB / 0.5528 GB, free: 2.938 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006727, allocations: 8 kB / 0.5529 GB, free: 2.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.006945, allocations: 165.9 kB / 0.553 GB, free: 2.766 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006956/0.00764, allocations: 0.6279 MB / 0.5536 GB, free: 2.098 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.007889, allocations: 114.7 kB / 0.5537 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.472e-05/0.007964, allocations: 44.84 kB / 0.5538 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.007978, allocations: 0 / 0.5538 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.007996, allocations: 42.56 kB / 0.5538 GB, free: 1.879 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.007997, allocations: 192 / 0.5538 GB, free: 1.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003148/0.008311, allocations: 169.4 kB / 0.554 GB, free: 1.707 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.008347, allocations: 63.33 kB / 0.554 GB, free: 1.633 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.008537, allocations: 276.6 kB / 0.5543 GB, free: 1.352 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.008549, allocations: 29.7 kB / 0.5543 GB, free: 1.316 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.008629, allocations: 176.3 kB / 0.5545 GB, free: 1.141 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.008648, allocations: 31.73 kB / 0.5545 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.008683, allocations: 25.66 kB / 0.5546 GB, free: 1.078 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.008762, allocations: 342.8 kB / 0.5549 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.008823, allocations: 39.97 kB / 0.5549 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.008879, allocations: 35.98 kB / 0.555 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.008992, allocations: 85.36 kB / 0.555 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008994, allocations: 0 / 0.555 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001624/0.009156, allocations: 149.3 kB / 0.5552 GB, free: 432 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.00917, allocations: 14.34 kB / 0.5552 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.009174, allocations: 3.938 kB / 0.5552 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.009186, allocations: 0 / 0.5552 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.009254, allocations: 19.98 kB / 0.5552 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.009259, allocations: 0 / 0.5552 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.009328, allocations: 31.81 kB / 0.5552 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.009335, allocations: 0 / 0.5552 GB, free: 364 kB / 474.7 MB 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 8.482e-05/0.00942, allocations: 137.8 kB / 0.5554 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.009447, allocations: 31.8 kB / 0.5554 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.009479, allocations: 33.89 kB / 0.5554 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00948, allocations: 0 / 0.5554 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.009484, allocations: 0 / 0.5554 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.009487, allocations: 3.938 kB / 0.5554 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.009742, allocations: 240.8 kB / 0.5557 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009743, allocations: 0 / 0.5557 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.009795, allocations: 19.98 kB / 0.5557 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009796, allocations: 0 / 0.5557 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.009807, allocations: 12 kB / 0.5557 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009808, allocations: 0 / 0.5557 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009809, allocations: 4 kB / 0.5557 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.01, allocations: 235.2 kB / 0.5559 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01002, allocations: 31.83 kB / 0.556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.01004, allocations: 0 / 0.556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.01011, allocations: 15.98 kB / 0.556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01016, allocations: 7.984 kB / 0.556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.01016, allocations: 0 / 0.556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.01029, allocations: 203.1 kB / 0.5562 GB, free: 15.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01029, allocations: 0 / 0.5562 GB, free: 15.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.01046, allocations: 51.89 kB / 0.5562 GB, free: 15.28 MB / 490.7 MB 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.0003637/0.01083, allocations: 0.7786 MB / 0.557 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.011, allocations: 91.89 kB / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.011, allocations: 0 / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.398e-05/0.01106, allocations: 43.86 kB / 0.5571 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01131, allocations: 40.64 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.0132, allocations: 2.21 MB / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.934e-05/0.01329, allocations: 142.9 kB / 0.5595 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.746e-05/0.01336, allocations: 21.95 kB / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.01345, allocations: 84.47 kB / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01345, allocations: 0 / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.03011, allocations: 5.483 MB / 0.5649 GB, free: 6.453 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/6.855, allocations: 14.16 kB / 0.5649 GB, free: 6.441 MB / 490.7 MB " [Timeout remaining time 653] (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: 9.397103317081928] Failed to read output from testmodel.py, exit status != 0: 6.932915238663554 6.941113057 6.933996608 Calling exit ...