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.001277/0.001277, 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.001454/0.001454, allocations: 216.5 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.785 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.02501/0.02501, allocations: 4.728 MB / 317.1 MB, free: 14.3 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.00221/0.00221, allocations: 75.89 kB / 441.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1084, allocations: 54.5 MB / 495.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005361/0.1138, allocations: 2.993 MB / 498.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1157, allocations: 0.8147 MB / 499.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.116, allocations: 11.94 kB / 499.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1163, allocations: 59.38 kB / 499.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.1166, allocations: 130.9 kB / 499.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.1172, allocations: 147.8 kB / 499.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000732/0.1179, allocations: 0.5141 MB / 0.4886 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/0.1183, allocations: 179.3 kB / 0.4888 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.1187, allocations: 203.4 kB / 0.489 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.119, allocations: 179.2 kB / 0.4891 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.1191, allocations: 56 kB / 0.4892 GB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1192, allocations: 56 kB / 0.4893 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1193, allocations: 103.7 kB / 0.4894 GB, free: 13.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1196, allocations: 195.2 kB / 0.4895 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.1203, allocations: 0.5528 MB / 0.4901 GB, free: 12.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1203, allocations: 0 / 0.4901 GB, free: 12.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1203, allocations: 0 / 0.4901 GB, free: 12.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1203, allocations: 0 / 0.4901 GB, free: 12.53 MB / 366.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.001695/0.122, allocations: 0.6749 MB / 0.4907 GB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.122, allocations: 8.031 kB / 0.4907 GB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1221, allocations: 78.66 kB / 0.4908 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.1224, allocations: 60.67 kB / 0.4909 GB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.1229, allocations: 261.3 kB / 0.4911 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.1231, allocations: 114.3 kB / 0.4912 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.1231, allocations: 32.31 kB / 0.4913 GB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/0.124, allocations: 396.9 kB / 0.4916 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.124, allocations: 0 / 0.4916 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.1241, allocations: 12 kB / 0.4917 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1241, allocations: 11.98 kB / 0.4917 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008886/0.125, allocations: 318.3 kB / 0.492 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.1275, allocations: 1.22 MB / 0.4932 GB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1285, allocations: 365.3 kB / 0.4935 GB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.129, allocations: 181.6 kB / 0.4937 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.129, allocations: 4 kB / 0.4937 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/0.1296, allocations: 242.6 kB / 0.4939 GB, free: 8.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.953e-06/0.1296, allocations: 0 / 0.4939 GB, free: 8.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001355/0.131, allocations: 0.4899 MB / 0.4944 GB, free: 7.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.131, allocations: 85.09 kB / 0.4945 GB, free: 7.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1314, allocations: 296.1 kB / 0.4948 GB, free: 7.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.1314, allocations: 33.7 kB / 0.4948 GB, free: 7.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1316, allocations: 192.6 kB / 0.495 GB, free: 7.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1317, allocations: 91.34 kB / 0.4951 GB, free: 7.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1318, allocations: 65.64 kB / 0.4951 GB, free: 7.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.132, allocations: 338.8 kB / 0.4955 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.1324, allocations: 177.6 kB / 0.4956 GB, free: 6.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.1329, allocations: 230.7 kB / 0.4958 GB, free: 6.328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.1337, allocations: 363.2 kB / 0.4962 GB, free: 5.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1337, allocations: 3.938 kB / 0.4962 GB, free: 5.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001065/0.1348, allocations: 492.5 kB / 0.4967 GB, free: 5.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.1349, allocations: 33.7 kB / 0.4967 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1349, allocations: 4 kB / 0.4967 GB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1349, allocations: 8.094 kB / 0.4967 GB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1359, allocations: 215.7 kB / 0.4969 GB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.1377, allocations: 1.577 MB / 0.4984 GB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.138, allocations: 43.75 kB / 0.4985 GB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.1381, allocations: 12 kB / 0.4985 GB, free: 3.441 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.0002127/0.1383, allocations: 181.7 kB / 0.4987 GB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.1383, allocations: 27.94 kB / 0.4987 GB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000917/0.1392, allocations: 375.7 kB / 0.4991 GB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1392, allocations: 4 kB / 0.4991 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1392, allocations: 0 / 0.4991 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1393, allocations: 3.984 kB / 0.4991 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.1397, allocations: 368.4 kB / 0.4994 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1397, allocations: 0 / 0.4994 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.1407, allocations: 211.7 kB / 0.4996 GB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1407, allocations: 4 kB / 0.4996 GB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.1408, allocations: 8 kB / 0.4996 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.1425, allocations: 1.576 MB / 0.5012 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1425, allocations: 3.938 kB / 0.5012 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.1438, allocations: 0.5757 MB / 0.5017 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1439, allocations: 35.78 kB / 0.5018 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.1439, allocations: 12 kB / 0.5018 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1441, allocations: 19.97 kB / 0.5018 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.1442, allocations: 31.95 kB / 0.5018 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1443, allocations: 8 kB / 0.5018 GB, free: 15.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.1445, allocations: 211.1 kB / 0.502 GB, free: 15.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1445, allocations: 0 / 0.502 GB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000445/0.1449, allocations: 91.84 kB / 0.5021 GB, free: 15.54 MB / 382.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.001654/0.1466, allocations: 1.131 MB / 0.5032 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.1482, allocations: 0.532 MB / 0.5038 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1482, allocations: 192 / 0.5038 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.1493, allocations: 299.6 kB / 0.504 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1496, allocations: 58.61 kB / 0.5041 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.1557, allocations: 3.699 MB / 0.5077 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.1559, allocations: 192.8 kB / 0.5079 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.1561, allocations: 34.22 kB / 0.5079 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.1563, allocations: 107.4 kB / 0.508 GB, free: 9.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1563, allocations: 4 kB / 0.508 GB, free: 9.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.1936, allocations: 7.726 MB / 0.5156 GB, free: 1.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/12.87, allocations: 13.39 kB / 0.5156 GB, free: 1.715 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 sys.exit(0), Time elapsed: 15.799208682961762] Failed to read output from testmodel.py, exit status != 0: 12.989669338800013 13.217516995 13.09430318 Calling exit ...