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.001305/0.001305, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001487/0.001487, allocations: 208.7 kB / 22.24 MB, free: 5.262 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.404/1.404, 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.02478/0.02478, allocations: 4.715 MB / 317.1 MB, free: 14.4 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.002066/0.002066, allocations: 71.89 kB / 441.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09976, allocations: 54.49 MB / 495.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004661/0.1044, allocations: 2.989 MB / 498.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1062, allocations: 0.8263 MB / 499.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.1064, allocations: 11.94 kB / 499.5 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1066, allocations: 59.44 kB / 499.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1068, allocations: 122.9 kB / 499.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.1073, allocations: 159.7 kB / 499.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.1079, allocations: 0.5102 MB / 0.4886 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.1082, allocations: 183.3 kB / 0.4888 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.1085, allocations: 195.4 kB / 0.489 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.1088, allocations: 179.1 kB / 0.4891 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.537e-05/0.1089, allocations: 56 kB / 0.4892 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.109, allocations: 60 kB / 0.4893 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.1091, allocations: 99.69 kB / 0.4894 GB, free: 13.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1093, allocations: 191.3 kB / 0.4895 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.1099, allocations: 0.5605 MB / 0.4901 GB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1099, allocations: 0 / 0.4901 GB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1099, allocations: 0 / 0.4901 GB, free: 12.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1099, allocations: 0 / 0.4901 GB, free: 12.64 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.001513/0.1114, allocations: 0.6788 MB / 0.4907 GB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1115, allocations: 12.03 kB / 0.4908 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.287e-05/0.1116, allocations: 62.72 kB / 0.4908 GB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.1118, allocations: 60.67 kB / 0.4909 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.1123, allocations: 269.3 kB / 0.4911 GB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.1124, allocations: 110.3 kB / 0.4912 GB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.1125, allocations: 32.38 kB / 0.4913 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/0.1133, allocations: 400.9 kB / 0.4916 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1133, allocations: 0 / 0.4916 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.1133, allocations: 16 kB / 0.4917 GB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1133, allocations: 4 kB / 0.4917 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.1142, allocations: 322.4 kB / 0.492 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.1163, allocations: 1.216 MB / 0.4932 GB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1173, allocations: 358.3 kB / 0.4935 GB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.1178, allocations: 179.8 kB / 0.4937 GB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.1178, allocations: 4 kB / 0.4937 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.1184, allocations: 250.7 kB / 0.4939 GB, free: 8.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.1184, allocations: 0 / 0.4939 GB, free: 8.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001372/0.1198, allocations: 0.4939 MB / 0.4944 GB, free: 8.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.1199, allocations: 85.05 kB / 0.4945 GB, free: 7.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.1202, allocations: 296.1 kB / 0.4948 GB, free: 7.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.1203, allocations: 33.69 kB / 0.4948 GB, free: 7.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1204, allocations: 196.6 kB / 0.495 GB, free: 7.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.1205, allocations: 87.22 kB / 0.4951 GB, free: 7.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1206, allocations: 69.58 kB / 0.4951 GB, free: 7.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1208, allocations: 338.8 kB / 0.4955 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.1212, allocations: 177.6 kB / 0.4956 GB, free: 6.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.1217, allocations: 230.8 kB / 0.4958 GB, free: 6.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/0.1226, allocations: 367.2 kB / 0.4962 GB, free: 6.059 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1226, allocations: 0 / 0.4962 GB, free: 6.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001147/0.1237, allocations: 488.6 kB / 0.4967 GB, free: 5.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.1238, allocations: 37.7 kB / 0.4967 GB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1238, allocations: 0 / 0.4967 GB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1238, allocations: 4 kB / 0.4967 GB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.1249, allocations: 211.7 kB / 0.4969 GB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.1267, allocations: 1.573 MB / 0.4984 GB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.127, allocations: 51.94 kB / 0.4985 GB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.1271, allocations: 15.98 kB / 0.4985 GB, free: 3.559 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.0002271/0.1273, allocations: 173.7 kB / 0.4987 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.1274, allocations: 31.81 kB / 0.4987 GB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.1283, allocations: 375.6 kB / 0.4991 GB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1283, allocations: 4 kB / 0.4991 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1284, allocations: 4 kB / 0.4991 GB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1284, allocations: 0 / 0.4991 GB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1288, allocations: 384.3 kB / 0.4994 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1288, allocations: 0 / 0.4994 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.1299, allocations: 207.7 kB / 0.4996 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1299, allocations: 0 / 0.4996 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.1299, allocations: 8 kB / 0.4996 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.1316, allocations: 1.572 MB / 0.5012 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1317, allocations: 12.12 kB / 0.5012 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.133, allocations: 0.5677 MB / 0.5017 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.1331, allocations: 35.75 kB / 0.5018 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.1331, allocations: 12.03 kB / 0.5018 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.1334, allocations: 27.97 kB / 0.5018 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.1335, allocations: 27.89 kB / 0.5018 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1335, allocations: 4 kB / 0.5018 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.1337, allocations: 219.1 kB / 0.5021 GB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1337, allocations: 0 / 0.5021 GB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.1342, allocations: 83.84 kB / 0.5021 GB, free: 15.65 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.001742/0.1359, allocations: 1.137 MB / 0.5032 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.1376, allocations: 0.5319 MB / 0.5038 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1376, allocations: 0 / 0.5038 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.1387, allocations: 299.8 kB / 0.504 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1391, allocations: 61.06 kB / 0.5041 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/0.1453, allocations: 3.683 MB / 0.5077 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.1455, allocations: 192.8 kB / 0.5079 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.1457, allocations: 30.28 kB / 0.5079 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.1459, allocations: 111.4 kB / 0.508 GB, free: 9.391 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1459, allocations: 0 / 0.508 GB, free: 9.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.1832, allocations: 7.74 MB / 0.5156 GB, free: 1.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.72, allocations: 6.75 kB / 0.5156 GB, free: 1.832 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.445579251274467] Failed to read output from testmodel.py, exit status != 0: 12.843451025895774 13.090147537 12.977627044 Calling exit ...