Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.001348/0.001348, allocations: 108.6 kB / 16.45 MB, free: 6.453 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.001383/0.001383, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02499/0.02499, allocations: 4.711 MB / 313.6 MB, free: 15.68 MB / 254.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: FastBuildings 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.001919/0.001919, allocations: 63.89 kB / 436 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09553, allocations: 54.46 MB / 490.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004571/0.1001, allocations: 3.234 MB / 493.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1016, allocations: 0.8613 MB / 494.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1018, allocations: 11.94 kB / 494.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.102, allocations: 55.44 kB / 494.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.1022, allocations: 122.9 kB / 494.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.1027, allocations: 163.7 kB / 495 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.1033, allocations: 0.5141 MB / 495.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.1037, allocations: 194.8 kB / 495.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.104, allocations: 207.3 kB / 495.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.1043, allocations: 195.2 kB / 496 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.1043, allocations: 60 kB / 496.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1044, allocations: 59.98 kB / 496.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1046, allocations: 111.6 kB / 496.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.1048, allocations: 223.1 kB / 496.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.1055, allocations: 0.5566 MB / 497 MB, free: 28 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1055, allocations: 0 / 497 MB, free: 28 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1055, allocations: 0 / 497 MB, free: 28 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1055, allocations: 0 / 497 MB, free: 28 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001628/0.1071, allocations: 0.7503 MB / 497.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1072, allocations: 8.031 kB / 497.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.894e-05/0.1073, allocations: 70.72 kB / 497.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.1076, allocations: 60.69 kB / 497.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.108, allocations: 327.6 kB / 498.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.1081, allocations: 58.91 kB / 498.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.1082, allocations: 32.38 kB / 498.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.109, allocations: 396.9 kB / 498.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.109, allocations: 0 / 498.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.1091, allocations: 15.98 kB / 498.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1091, allocations: 4 kB / 498.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/0.1101, allocations: 326.3 kB / 499.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.1124, allocations: 1.511 MB / 0.4888 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1135, allocations: 359 kB / 0.4892 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.114, allocations: 185.5 kB / 0.4894 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.114, allocations: 8 kB / 0.4894 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/0.1146, allocations: 238.6 kB / 0.4896 GB, free: 11.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.943e-06/0.1146, allocations: 0 / 0.4896 GB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001408/0.116, allocations: 0.4931 MB / 0.4901 GB, free: 10.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.1161, allocations: 81.11 kB / 0.4902 GB, free: 10.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.1166, allocations: 299 kB / 0.4904 GB, free: 10.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.1166, allocations: 37.69 kB / 0.4905 GB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1168, allocations: 196.6 kB / 0.4907 GB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1169, allocations: 91.2 kB / 0.4908 GB, free: 10.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.117, allocations: 57.69 kB / 0.4908 GB, free: 10.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1172, allocations: 342.8 kB / 0.4911 GB, free: 9.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.1177, allocations: 151.9 kB / 0.4913 GB, free: 9.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.1181, allocations: 205.9 kB / 0.4915 GB, free: 9.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/0.119, allocations: 367.4 kB / 0.4918 GB, free: 9.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.119, allocations: 4 kB / 0.4918 GB, free: 9.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001094/0.1201, allocations: 451.8 kB / 0.4923 GB, free: 8.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.1201, allocations: 37.69 kB / 0.4923 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1202, allocations: 4.156 kB / 0.4923 GB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1202, allocations: 4 kB / 0.4923 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.1213, allocations: 215.7 kB / 0.4925 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.1232, allocations: 1.676 MB / 0.4942 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1235, allocations: 47.78 kB / 0.4942 GB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.1235, allocations: 15.98 kB / 0.4942 GB, free: 6.484 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.1237, allocations: 173.7 kB / 0.4944 GB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.1238, allocations: 31.81 kB / 0.4944 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/0.1248, allocations: 371.6 kB / 0.4948 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1248, allocations: 4 kB / 0.4948 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1248, allocations: 0 / 0.4948 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1248, allocations: 0 / 0.4948 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.1253, allocations: 461.2 kB / 0.4952 GB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1253, allocations: 0 / 0.4952 GB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.1264, allocations: 203.7 kB / 0.4954 GB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1264, allocations: 7.984 kB / 0.4954 GB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.1264, allocations: 11.94 kB / 0.4954 GB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.1282, allocations: 1.671 MB / 0.4971 GB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1282, allocations: 7.938 kB / 0.4971 GB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.1296, allocations: 0.5728 MB / 0.4976 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.1297, allocations: 112.9 kB / 0.4977 GB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.1298, allocations: 8 kB / 0.4977 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.13, allocations: 23.97 kB / 0.4978 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1301, allocations: 23.97 kB / 0.4978 GB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.1301, allocations: 15.98 kB / 0.4978 GB, free: 2.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.1304, allocations: 210 kB / 0.498 GB, free: 2.367 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1304, allocations: 0 / 0.498 GB, free: 2.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.1308, allocations: 83.89 kB / 0.4981 GB, free: 2.285 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001713/0.1325, allocations: 1.136 MB / 0.4992 GB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.1343, allocations: 0.5108 MB / 0.4997 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1343, allocations: 0 / 0.4997 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.1354, allocations: 303.8 kB / 0.5 GB, free: 300 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1358, allocations: 40.88 kB / 0.5 GB, free: 256 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.142, allocations: 3.58 MB / 0.5035 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.1425, allocations: 0.7948 MB / 0.5043 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.1426, allocations: 38.27 kB / 0.5043 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1428, allocations: 107.4 kB / 0.5044 GB, free: 11.58 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1428, allocations: 0 / 0.5044 GB, free: 11.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.1755, allocations: 7.05 MB / 0.5113 GB, free: 4.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.42, allocations: 4 kB / 0.5113 GB, free: 4.664 MB / 382.1 MB " [Timeout remaining time 647] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Controlled_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.318019842263311] Failed to read output from testmodel.py, exit status != 0: 12.513291443232447 12.743490748 12.635394899 Calling exit ...