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.001045/0.001045, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009185/0.0009185, allocations: 170.3 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.9444/0.9444, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.5723/0.5723, allocations: 110.2 MB / 369.4 MB, free: 12.64 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.452e-06/1.452e-06, allocations: 0 / 0.5472 GB, free: 8.855 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.557e-05, allocations: 6.281 kB / 0.5472 GB, free: 8.848 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002456/0.002472, allocations: 2.437 MB / 0.5496 GB, free: 6.391 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.003391, allocations: 0.666 MB / 0.5502 GB, free: 5.719 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.003531, allocations: 11.94 kB / 0.5503 GB, free: 5.707 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.003675, allocations: 51.45 kB / 0.5503 GB, free: 5.656 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.0038, allocations: 75.23 kB / 0.5504 GB, free: 5.582 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.00407, allocations: 107.8 kB / 0.5505 GB, free: 5.477 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.004342, allocations: 346.3 kB / 0.5508 GB, free: 5.137 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.004536, allocations: 129.5 kB / 0.5509 GB, free: 5.008 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.004761, allocations: 179.7 kB / 0.5511 GB, free: 4.832 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.972e-05/0.004861, allocations: 91.69 kB / 0.5512 GB, free: 4.742 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.004891, allocations: 28 kB / 0.5512 GB, free: 4.715 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.004949, allocations: 32 kB / 0.5512 GB, free: 4.684 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.004983, allocations: 63.75 kB / 0.5513 GB, free: 4.621 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.005044, allocations: 95.77 kB / 0.5514 GB, free: 4.527 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.00532, allocations: 358.8 kB / 0.5517 GB, free: 4.176 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005322, allocations: 0 / 0.5517 GB, free: 4.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005323, allocations: 0 / 0.5517 GB, free: 4.176 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005327, allocations: 3.938 kB / 0.5517 GB, free: 4.172 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.0005609/0.005888, allocations: 0.5013 MB / 0.5522 GB, free: 3.641 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.005926, allocations: 8.031 kB / 0.5522 GB, free: 3.633 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.005973, allocations: 66.66 kB / 0.5523 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.006114, allocations: 52.69 kB / 0.5524 GB, free: 3.508 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.006382, allocations: 230.3 kB / 0.5526 GB, free: 3.254 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.006402, allocations: 20.88 kB / 0.5526 GB, free: 3.234 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.006423, allocations: 16.38 kB / 0.5526 GB, free: 3.219 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.0067, allocations: 224.6 kB / 0.5528 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006709, allocations: 192 / 0.5528 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.006727, allocations: 16.12 kB / 0.5528 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006733, allocations: 4 kB / 0.5528 GB, free: 2.977 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.006964, allocations: 169.9 kB / 0.553 GB, free: 2.809 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.007689, allocations: 0.6357 MB / 0.5536 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.007931, allocations: 110.8 kB / 0.5537 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.008009, allocations: 52.97 kB / 0.5538 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.008024, allocations: 0 / 0.5538 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.00804, allocations: 34.55 kB / 0.5538 GB, free: 1.918 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.008041, allocations: 4 kB / 0.5538 GB, free: 1.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002861/0.008327, allocations: 169.4 kB / 0.554 GB, free: 1.742 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.008358, allocations: 59.39 kB / 0.554 GB, free: 1.672 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.008566, allocations: 276.6 kB / 0.5543 GB, free: 1.391 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.00858, allocations: 29.7 kB / 0.5543 GB, free: 1.355 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.008669, allocations: 176.3 kB / 0.5545 GB, free: 1.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.008691, allocations: 35.72 kB / 0.5545 GB, free: 1.145 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.008729, allocations: 21.72 kB / 0.5546 GB, free: 1.117 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.008816, allocations: 342.8 kB / 0.5549 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.008882, allocations: 39.97 kB / 0.5549 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.008939, allocations: 39.92 kB / 0.555 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.009063, allocations: 89.08 kB / 0.555 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009065, allocations: 0 / 0.555 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000188/0.009253, allocations: 145.5 kB / 0.5552 GB, free: 468 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.009267, allocations: 6.5 kB / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009271, allocations: 7.938 kB / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.009284, allocations: 4 kB / 0.5552 GB, free: 452 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.009357, allocations: 23.98 kB / 0.5552 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.009363, allocations: 0 / 0.5552 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.00943, allocations: 23.81 kB / 0.5552 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.009441, allocations: 4 kB / 0.5552 GB, free: 400 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 0.0001061/0.009547, allocations: 145.7 kB / 0.5554 GB, free: 244 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.009588, allocations: 27.81 kB / 0.5554 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.009629, allocations: 33.89 kB / 0.5554 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.009631, allocations: 3.938 kB / 0.5554 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.009638, allocations: 4 kB / 0.5555 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.009641, allocations: 0 / 0.5555 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.009853, allocations: 236.6 kB / 0.5557 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009854, allocations: 0 / 0.5557 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.009914, allocations: 19.98 kB / 0.5557 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009916, allocations: 0 / 0.5557 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.009924, allocations: 0 / 0.5557 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.009925, allocations: 0 / 0.5557 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009926, allocations: 4 kB / 0.5557 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.01012, allocations: 243.2 kB / 0.5559 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.01014, allocations: 23.83 kB / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.01016, allocations: 8 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.01022, allocations: 7.984 kB / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.01026, allocations: 7.984 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01027, allocations: 8 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.01039, allocations: 207 kB / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01039, allocations: 0 / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000172/0.01056, allocations: 47.89 kB / 0.5562 GB, free: 15.32 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.01093, allocations: 0.7747 MB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.0111, allocations: 91.89 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.0111, allocations: 0 / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.01116, allocations: 43.98 kB / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.01141, allocations: 43.22 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.01314, allocations: 2.219 MB / 0.5593 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.028e-05/0.01323, allocations: 142.9 kB / 0.5595 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.289e-05/0.0133, allocations: 21.95 kB / 0.5595 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.01339, allocations: 84.41 kB / 0.5596 GB, free: 11.78 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01339, allocations: 0 / 0.5596 GB, free: 11.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.03111, allocations: 5.486 MB / 0.5649 GB, free: 6.492 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.593, allocations: 12.03 kB / 0.5649 GB, free: 6.48 MB / 490.7 MB " [Timeout remaining time 652] (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: 10.196843379177153] Failed to read output from testmodel.py, exit status != 0: 7.673460294492543 7.682407148 7.675401258 Calling exit ...