Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.001272/0.001272, 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.001472/0.001472, allocations: 209.3 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.466/1.466, 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.03393/0.03393, allocations: 4.722 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_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.002074/0.002074, allocations: 68.14 kB / 441.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1012, allocations: 54.5 MB / 495.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002844/0.1041, allocations: 1.663 MB / 497.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.105, allocations: 0.5065 MB / 497.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.1051, allocations: 7.938 kB / 497.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.656e-05/0.1052, allocations: 11.86 kB / 497.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.1053, allocations: 35.72 kB / 497.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1055, allocations: 59.8 kB / 497.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1057, allocations: 119.6 kB / 498 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1059, allocations: 29.28 kB / 498.1 MB, free: 368 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.106, allocations: 63.77 kB / 498.1 MB, free: 304 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.1061, allocations: 51.7 kB / 498.2 MB, free: 252 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1062, allocations: 8 kB / 498.2 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.982e-05/0.1062, allocations: 16 kB / 498.2 MB, free: 228 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.1062, allocations: 23.92 kB / 498.2 MB, free: 204 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.1063, allocations: 51.7 kB / 498.3 MB, free: 152 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1065, allocations: 103.6 kB / 498.4 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1065, allocations: 0 / 498.4 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1065, allocations: 0 / 498.4 MB, free: 48 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1065, allocations: 0 / 498.4 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008213/0.1073, allocations: 407.4 kB / 498.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1074, allocations: 8.031 kB / 498.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.1074, allocations: 46.88 kB / 498.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.1077, allocations: 36.83 kB / 498.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1079, allocations: 156.5 kB / 499 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1079, allocations: 4.562 kB / 499 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1079, allocations: 16.12 kB / 499 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.1084, allocations: 179.9 kB / 499.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1084, allocations: 0 / 499.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1084, allocations: 3.984 kB / 499.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1084, allocations: 8 kB / 499.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.1088, allocations: 135.8 kB / 499.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/0.1098, allocations: 0.68 MB / 0.4883 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.1102, allocations: 169 kB / 0.4885 GB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.1104, allocations: 88.23 kB / 0.4886 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1104, allocations: 0 / 0.4886 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003607/0.1108, allocations: 159.5 kB / 0.4887 GB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1108, allocations: 4 kB / 0.4887 GB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007761/0.1116, allocations: 229.3 kB / 0.4889 GB, free: 13.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1117, allocations: 158.7 kB / 0.4891 GB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1119, allocations: 178.3 kB / 0.4893 GB, free: 13.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1119, allocations: 29.64 kB / 0.4893 GB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.112, allocations: 128 kB / 0.4894 GB, free: 12.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.112, allocations: 31.75 kB / 0.4894 GB, free: 12.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.1121, allocations: 29.7 kB / 0.4895 GB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1122, allocations: 326.8 kB / 0.4898 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1125, allocations: 85.64 kB / 0.4899 GB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1127, allocations: 133.8 kB / 0.49 GB, free: 12.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1132, allocations: 177.8 kB / 0.4902 GB, free: 12.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1132, allocations: 0 / 0.4902 GB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005732/0.1138, allocations: 252.8 kB / 0.4904 GB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.1138, allocations: 29.7 kB / 0.4904 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1138, allocations: 0 / 0.4904 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1138, allocations: 4 kB / 0.4904 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.114, allocations: 23.97 kB / 0.4905 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.114, allocations: 8.125 kB / 0.4905 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1141, allocations: 23.94 kB / 0.4905 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1142, allocations: 7.984 kB / 0.4905 GB, free: 11.77 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 (11): * Single equations (assignments): 10 * 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.0001251/0.1143, allocations: 137.6 kB / 0.4906 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1143, allocations: 15.91 kB / 0.4906 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.1145, allocations: 86.67 kB / 0.4907 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1145, allocations: 4 kB / 0.4907 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1145, allocations: 0 / 0.4907 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1145, allocations: 8.031 kB / 0.4907 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.1149, allocations: 297.6 kB / 0.491 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1149, allocations: 4 kB / 0.491 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.115, allocations: 23.97 kB / 0.491 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.115, allocations: 0 / 0.491 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.115, allocations: 4 kB / 0.4911 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.115, allocations: 0 / 0.4911 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.115, allocations: 11.88 kB / 0.4911 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.1156, allocations: 294.8 kB / 0.4913 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.1156, allocations: 15.95 kB / 0.4914 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1156, allocations: 0 / 0.4914 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1158, allocations: 19.97 kB / 0.4914 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.1159, allocations: 23.91 kB / 0.4914 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1159, allocations: 4 kB / 0.4914 GB, free: 10.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.116, allocations: 131.2 kB / 0.4915 GB, free: 10.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.116, allocations: 4 kB / 0.4915 GB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1163, allocations: 31.98 kB / 0.4916 GB, free: 10.58 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 (9): * Single equations (assignments): 7 * 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.001081/0.1174, allocations: 0.8913 MB / 0.4924 GB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.1179, allocations: 224.9 kB / 0.4926 GB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1179, allocations: 3.938 kB / 0.4927 GB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.1182, allocations: 84.48 kB / 0.4927 GB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1185, allocations: 26 kB / 0.4928 GB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.1217, allocations: 2.175 MB / 0.4949 GB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.1218, allocations: 109.5 kB / 0.495 GB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.541e-05/0.1219, allocations: 20.42 kB / 0.495 GB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.122, allocations: 43.41 kB / 0.495 GB, free: 6.762 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.122, allocations: 0 / 0.495 GB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.1533, allocations: 3.64 MB / 0.4986 GB, free: 3.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.02, allocations: 8 kB / 0.4986 GB, free: 3.258 MB / 366.1 MB " [Timeout remaining time 649] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.551919700112194] Failed to read output from testmodel.py, exit status != 0: 11.127156084869057 11.144170094 11.034314588 Calling exit ...