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.001263/0.001263, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001735/0.001735, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.04666/0.04666, allocations: 4.715 MB / 317.9 MB, free: 14.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.001987/0.001987, allocations: 59.89 kB / 442 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.101, allocations: 54.51 MB / 496.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003016/0.104, allocations: 1.712 MB / 498.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.105, allocations: 0.5648 MB / 498.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.1051, allocations: 4 kB / 498.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.939e-05/0.1052, allocations: 11.86 kB / 498.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.1052, allocations: 27.72 kB / 498.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1055, allocations: 59.88 kB / 498.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1057, allocations: 115.6 kB / 499 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1058, allocations: 33.27 kB / 499 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.106, allocations: 67.72 kB / 499.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.1061, allocations: 55.75 kB / 499.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1061, allocations: 8 kB / 499.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.48e-05/0.1062, allocations: 12 kB / 499.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.1062, allocations: 19.92 kB / 499.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.1063, allocations: 51.67 kB / 499.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1065, allocations: 119.4 kB / 499.4 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1065, allocations: 0 / 499.4 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1065, allocations: 0 / 499.4 MB, free: 392 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1065, allocations: 4 kB / 499.4 MB, free: 388 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.0007712/0.1072, allocations: 395.4 kB / 499.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1073, allocations: 8.031 kB / 499.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.169e-05/0.1073, allocations: 12.36 kB / 499.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.1074, allocations: 58.86 kB / 499.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.1076, allocations: 32.81 kB / 499.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.1078, allocations: 150.3 kB / 0.4883 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1078, allocations: 8.609 kB / 0.4883 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.1078, allocations: 16.12 kB / 0.4883 GB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.1083, allocations: 195.5 kB / 0.4885 GB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1083, allocations: 7.891 kB / 0.4885 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1083, allocations: 4 kB / 0.4885 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.1083, allocations: 4 kB / 0.4885 GB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.1088, allocations: 151.8 kB / 0.4887 GB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.1098, allocations: 0.7346 MB / 0.4894 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.1103, allocations: 217 kB / 0.4896 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.1105, allocations: 108.3 kB / 0.4897 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1106, allocations: 8 kB / 0.4897 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.1109, allocations: 173.7 kB / 0.4899 GB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.1109, allocations: 4 kB / 0.4899 GB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001958/0.1129, allocations: 0.6137 MB / 0.4905 GB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.113, allocations: 162.2 kB / 0.4906 GB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1132, allocations: 178.3 kB / 0.4908 GB, free: 12.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1132, allocations: 29.7 kB / 0.4908 GB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.1133, allocations: 120.3 kB / 0.4909 GB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.1134, allocations: 79.41 kB / 0.491 GB, free: 12.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.1135, allocations: 41.7 kB / 0.491 GB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1137, allocations: 330.8 kB / 0.4914 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.114, allocations: 99.91 kB / 0.4915 GB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.1144, allocations: 171.5 kB / 0.4916 GB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.1151, allocations: 297.6 kB / 0.4919 GB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1151, allocations: 0 / 0.4919 GB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008461/0.1159, allocations: 355 kB / 0.4922 GB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.1159, allocations: 33.7 kB / 0.4923 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1159, allocations: 0 / 0.4923 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.116, allocations: 4 kB / 0.4923 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.1163, allocations: 59.89 kB / 0.4923 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1163, allocations: 4 kB / 0.4923 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1165, allocations: 36.02 kB / 0.4924 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.1165, allocations: 8 kB / 0.4924 GB, free: 11.15 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 (25): * Single equations (assignments): 24 * 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.0001539/0.1166, allocations: 149.6 kB / 0.4925 GB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.1167, allocations: 15.91 kB / 0.4925 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.117, allocations: 155 kB / 0.4927 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1171, allocations: 4 kB / 0.4927 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1171, allocations: 0 / 0.4927 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1171, allocations: 7.984 kB / 0.4927 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.1186, allocations: 0.974 MB / 0.4936 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1186, allocations: 4 kB / 0.4937 GB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1189, allocations: 51.89 kB / 0.4937 GB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1189, allocations: 8.188 kB / 0.4937 GB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.1189, allocations: 15.92 kB / 0.4937 GB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1189, allocations: 4 kB / 0.4937 GB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1189, allocations: 0 / 0.4937 GB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000905/0.1198, allocations: 0.7007 MB / 0.4944 GB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.1198, allocations: 15.91 kB / 0.4944 GB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.1199, allocations: 19.92 kB / 0.4944 GB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.1202, allocations: 27.97 kB / 0.4945 GB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/0.1203, allocations: 32.59 kB / 0.4945 GB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1203, allocations: 11.94 kB / 0.4945 GB, free: 8.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1205, allocations: 135.2 kB / 0.4946 GB, free: 8.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1205, allocations: 4 kB / 0.4946 GB, free: 8.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000457/0.1209, allocations: 36 kB / 0.4947 GB, free: 8.676 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 (22): * Single equations (assignments): 20 * 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.001615/0.1225, allocations: 1.367 MB / 0.496 GB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.1233, allocations: 315.2 kB / 0.4963 GB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1233, allocations: 0 / 0.4963 GB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.1237, allocations: 147.8 kB / 0.4965 GB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.1244, allocations: 29 kB / 0.4965 GB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.1287, allocations: 2.853 MB / 0.4993 GB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.129, allocations: 0.7358 MB / 0.5 GB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.1292, allocations: 33.47 kB / 0.5 GB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1293, allocations: 55.41 kB / 0.5001 GB, free: 2.902 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1293, allocations: 0 / 0.5001 GB, free: 2.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1533, allocations: 4.241 MB / 0.5042 GB, free: 14.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.11, allocations: 10.5 kB / 0.5042 GB, free: 14.8 MB / 382.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 os._exit(0), Time elapsed: 13.693313388037495] Failed to read output from testmodel.py, exit status != 0: 11.271443790988997 11.300433654 11.188719756 Calling exit ...