Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.001292/0.001292, 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.001427/0.001427, allocations: 211.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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.781 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.02486/0.02486, allocations: 4.711 MB / 317.1 MB, free: 14.32 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.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.002048/0.002048, allocations: 79.86 kB / 441.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 54.49 MB / 495.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002926/0.1064, allocations: 1.678 MB / 497.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1074, allocations: 0.526 MB / 497.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.1075, allocations: 0 / 497.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.1076, allocations: 15.8 kB / 497.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.1077, allocations: 23.78 kB / 497.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.108, allocations: 59.88 kB / 497.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1082, allocations: 123.5 kB / 498.1 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1084, allocations: 37.23 kB / 498.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.1086, allocations: 63.78 kB / 498.2 MB, free: 252 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1087, allocations: 59.69 kB / 498.2 MB, free: 192 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1087, allocations: 8 kB / 498.2 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.413e-05/0.1088, allocations: 15.98 kB / 498.3 MB, free: 168 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.1088, allocations: 27.86 kB / 498.3 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.1089, allocations: 35.8 kB / 498.3 MB, free: 104 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1091, allocations: 123.5 kB / 498.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1091, allocations: 0 / 498.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1092, allocations: 0 / 498.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1092, allocations: 0 / 498.4 MB, free: 15.98 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008561/0.11, allocations: 403.4 kB / 498.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1101, allocations: 8.031 kB / 498.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.992e-05/0.1101, allocations: 62.59 kB / 498.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.1104, allocations: 36.83 kB / 498.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1106, allocations: 156.5 kB / 499.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1106, allocations: 8.375 kB / 499.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1107, allocations: 16.36 kB / 499.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.1112, allocations: 195.6 kB / 499.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1112, allocations: 0 / 499.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1112, allocations: 8 kB / 499.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1112, allocations: 3.938 kB / 499.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.1116, allocations: 143.8 kB / 499.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/0.1126, allocations: 0.6956 MB / 0.4884 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.1131, allocations: 185 kB / 0.4886 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.1133, allocations: 92.23 kB / 0.4887 GB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1133, allocations: 3.984 kB / 0.4887 GB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.1137, allocations: 159.5 kB / 0.4888 GB, free: 13.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1137, allocations: 0 / 0.4888 GB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007743/0.1145, allocations: 249.5 kB / 0.4891 GB, free: 13.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1146, allocations: 166.1 kB / 0.4892 GB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1148, allocations: 170.3 kB / 0.4894 GB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1148, allocations: 33.69 kB / 0.4894 GB, free: 12.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1149, allocations: 116 kB / 0.4895 GB, free: 12.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.1149, allocations: 39.73 kB / 0.4896 GB, free: 12.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.115, allocations: 29.72 kB / 0.4896 GB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1152, allocations: 326.8 kB / 0.4899 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.1154, allocations: 93.83 kB / 0.49 GB, free: 12.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.1157, allocations: 125.9 kB / 0.4901 GB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.1161, allocations: 186.2 kB / 0.4903 GB, free: 11.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1161, allocations: 0 / 0.4903 GB, free: 11.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005975/0.1167, allocations: 268.6 kB / 0.4906 GB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.1168, allocations: 35.89 kB / 0.4906 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1168, allocations: 0 / 0.4906 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1168, allocations: 8.094 kB / 0.4906 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.117, allocations: 27.97 kB / 0.4906 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.117, allocations: 3.938 kB / 0.4906 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1171, allocations: 31.91 kB / 0.4907 GB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1172, allocations: 4 kB / 0.4907 GB, free: 11.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0001398/0.1173, allocations: 133.1 kB / 0.4908 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.1173, allocations: 19.84 kB / 0.4908 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.1176, allocations: 98.61 kB / 0.4909 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1176, allocations: 4 kB / 0.4909 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1176, allocations: 0 / 0.4909 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1176, allocations: 4 kB / 0.4909 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.118, allocations: 396.8 kB / 0.4913 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.118, allocations: 4 kB / 0.4913 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1181, allocations: 27.97 kB / 0.4913 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1181, allocations: 0 / 0.4913 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1182, allocations: 16.12 kB / 0.4913 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1182, allocations: 0 / 0.4913 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1182, allocations: 0 / 0.4913 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1187, allocations: 381.1 kB / 0.4917 GB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.1188, allocations: 27.77 kB / 0.4917 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1188, allocations: 4 kB / 0.4917 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.119, allocations: 15.98 kB / 0.4918 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.1191, allocations: 19.97 kB / 0.4918 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1191, allocations: 8 kB / 0.4918 GB, free: 10.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1192, allocations: 135.2 kB / 0.4919 GB, free: 10.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1192, allocations: 3.938 kB / 0.4919 GB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1195, allocations: 27.95 kB / 0.4919 GB, free: 10.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001142/0.1206, allocations: 0.9796 MB / 0.4929 GB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005705/0.1212, allocations: 228.9 kB / 0.4931 GB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1212, allocations: 0 / 0.4931 GB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.1215, allocations: 80.06 kB / 0.4932 GB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1219, allocations: 20.36 kB / 0.4932 GB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.1251, allocations: 2.307 MB / 0.4955 GB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.1252, allocations: 117.2 kB / 0.4956 GB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.926e-05/0.1253, allocations: 12.48 kB / 0.4956 GB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.1254, allocations: 47.41 kB / 0.4956 GB, free: 6.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1254, allocations: 0 / 0.4956 GB, free: 6.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.1549, allocations: 3.74 MB / 0.4993 GB, free: 2.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.25, allocations: 12.33 kB / 0.4993 GB, free: 2.551 MB / 366.1 MB " [Timeout remaining time 649] (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.917849936988205] Failed to read output from testmodel.py, exit status != 0: 11.3501194906421 11.36667291 11.254488767 Calling exit ...