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.001312/0.001312, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001406/0.001406, allocations: 216.6 kB / 23.03 MB, free: 4.949 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.05102/0.05102, allocations: 4.722 MB / 317.9 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.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="cs",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.001945/0.001945, allocations: 71.83 kB / 441.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09936, allocations: 54.49 MB / 496.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002865/0.1022, allocations: 1.677 MB / 498.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.1032, allocations: 0.5143 MB / 498.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.1032, allocations: 0 / 498.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.556e-05/0.1033, allocations: 19.8 kB / 498.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.1034, allocations: 31.72 kB / 498.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1037, allocations: 59.86 kB / 498.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1039, allocations: 123.6 kB / 498.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.104, allocations: 33.23 kB / 498.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.1042, allocations: 67.7 kB / 499 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.1043, allocations: 59.75 kB / 499 MB, free: 264 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.1043, allocations: 12 kB / 499 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.1044, allocations: 8 kB / 499 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.1044, allocations: 27.86 kB / 499.1 MB, free: 216 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.1045, allocations: 47.78 kB / 499.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1047, allocations: 115.5 kB / 499.2 MB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1047, allocations: 3.938 kB / 499.2 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1047, allocations: 0 / 499.2 MB, free: 48 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1047, allocations: 0 / 499.2 MB, free: 48 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008018/0.1055, allocations: 399.4 kB / 499.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1055, allocations: 15.95 kB / 499.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.521e-05/0.1056, allocations: 12.12 kB / 499.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.1056, allocations: 58.95 kB / 499.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.1059, allocations: 40.78 kB / 499.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1061, allocations: 166.2 kB / 499.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1061, allocations: 12.66 kB / 499.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.1062, allocations: 12.38 kB / 499.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.1066, allocations: 216.5 kB / 0.4884 GB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1066, allocations: 11.89 kB / 0.4884 GB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1067, allocations: 8 kB / 0.4884 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1067, allocations: 4 kB / 0.4884 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.1071, allocations: 151.8 kB / 0.4886 GB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1082, allocations: 0.7541 MB / 0.4893 GB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.1086, allocations: 213.1 kB / 0.4895 GB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.1089, allocations: 120.3 kB / 0.4896 GB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1089, allocations: 8 kB / 0.4896 GB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.1093, allocations: 191.4 kB / 0.4898 GB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1093, allocations: 0 / 0.4898 GB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001892/0.1112, allocations: 0.6289 MB / 0.4904 GB, free: 12.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.1113, allocations: 166.2 kB / 0.4906 GB, free: 12.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1115, allocations: 174.3 kB / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.1115, allocations: 37.73 kB / 0.4908 GB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.1116, allocations: 116.5 kB / 0.4909 GB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.1117, allocations: 83.31 kB / 0.491 GB, free: 12.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.1118, allocations: 45.94 kB / 0.491 GB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1119, allocations: 334.8 kB / 0.4914 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.1122, allocations: 134.1 kB / 0.4915 GB, free: 11.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.1126, allocations: 202.2 kB / 0.4917 GB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.1133, allocations: 306 kB / 0.492 GB, free: 11.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1133, allocations: 0 / 0.492 GB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008219/0.1141, allocations: 384.7 kB / 0.4923 GB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.1142, allocations: 36.52 kB / 0.4924 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1142, allocations: 0 / 0.4924 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1142, allocations: 4 kB / 0.4924 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.1145, allocations: 59.89 kB / 0.4924 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1145, allocations: 11.92 kB / 0.4924 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1147, allocations: 39.95 kB / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.1147, allocations: 12 kB / 0.4925 GB, free: 10.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 26 * 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.0001362/0.1149, allocations: 141.7 kB / 0.4926 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1149, allocations: 19.91 kB / 0.4926 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.1153, allocations: 155 kB / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1153, allocations: 7.984 kB / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1153, allocations: 0 / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1153, allocations: 0 / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.1168, allocations: 0.9942 MB / 0.4938 GB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1168, allocations: 4.156 kB / 0.4938 GB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.117, allocations: 59.83 kB / 0.4938 GB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.117, allocations: 4 kB / 0.4938 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1171, allocations: 11.98 kB / 0.4938 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1171, allocations: 4.156 kB / 0.4938 GB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1171, allocations: 0 / 0.4938 GB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.1179, allocations: 0.7063 MB / 0.4945 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.118, allocations: 27.89 kB / 0.4946 GB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.118, allocations: 11.98 kB / 0.4946 GB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.1184, allocations: 27.97 kB / 0.4946 GB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.1184, allocations: 35.89 kB / 0.4946 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1185, allocations: 8 kB / 0.4946 GB, free: 8.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1186, allocations: 143.2 kB / 0.4948 GB, free: 8.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1186, allocations: 0 / 0.4948 GB, free: 8.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.119, allocations: 36 kB / 0.4948 GB, free: 8.047 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (24): * Single equations (assignments): 22 * 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.001555/0.1206, allocations: 1.388 MB / 0.4962 GB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008064/0.1214, allocations: 348.9 kB / 0.4965 GB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1214, allocations: 4 kB / 0.4965 GB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.1218, allocations: 151.8 kB / 0.4967 GB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.1225, allocations: 23.92 kB / 0.4967 GB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.1268, allocations: 2.995 MB / 0.4996 GB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.1269, allocations: 136.4 kB / 0.4997 GB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1271, allocations: 45.66 kB / 0.4998 GB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1272, allocations: 55.41 kB / 0.4998 GB, free: 2.637 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1272, allocations: 0 / 0.4998 GB, free: 2.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.1517, allocations: 4.426 MB / 0.5041 GB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.41, allocations: 7.625 kB / 0.5042 GB, free: 14.36 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 14.018585345940664] Failed to read output from testmodel.py, exit status != 0: 11.57022981310729 11.599546872 11.489373513 Calling exit ...