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.00137/0.00137, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002709/0.002709, allocations: 212.5 kB / 22.25 MB, free: 5.117 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.211 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.06536/0.06536, allocations: 4.711 MB / 317.1 MB, free: 14.57 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.002237/0.002237, allocations: 67.88 kB / 441.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1088, allocations: 54.49 MB / 495.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00338/0.1121, allocations: 1.724 MB / 497.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1137, allocations: 0.5571 MB / 498 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1139, allocations: 3.938 kB / 498 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.114, allocations: 15.86 kB / 498 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1142, allocations: 23.73 kB / 498 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1146, allocations: 67.84 kB / 498.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.1149, allocations: 119.6 kB / 498.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1151, allocations: 25.3 kB / 498.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1154, allocations: 67.69 kB / 498.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1155, allocations: 55.77 kB / 498.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.1155, allocations: 8 kB / 498.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.1156, allocations: 12 kB / 498.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.1157, allocations: 23.92 kB / 498.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.1158, allocations: 51.66 kB / 498.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.116, allocations: 119.5 kB / 498.6 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1161, allocations: 0 / 498.6 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1161, allocations: 0 / 498.6 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1161, allocations: 0 / 498.6 MB, free: 440 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.001051/0.1171, allocations: 387.4 kB / 499 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1172, allocations: 12.03 kB / 499 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.1173, allocations: 54.81 kB / 499 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.1175, allocations: 44.75 kB / 499.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1177, allocations: 148.6 kB / 499.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1178, allocations: 8.562 kB / 499.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1178, allocations: 16.12 kB / 499.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.1182, allocations: 179.5 kB / 499.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1182, allocations: 0 / 499.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1182, allocations: 4 kB / 499.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1182, allocations: 0 / 499.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.1187, allocations: 131.8 kB / 499.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1197, allocations: 0.7034 MB / 0.4885 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.1202, allocations: 169 kB / 0.4887 GB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1204, allocations: 92.23 kB / 0.4888 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1205, allocations: 4 kB / 0.4888 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.1209, allocations: 155.5 kB / 0.4889 GB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1209, allocations: 0 / 0.4889 GB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007622/0.1216, allocations: 233.7 kB / 0.4891 GB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1217, allocations: 162.2 kB / 0.4893 GB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1219, allocations: 174.2 kB / 0.4895 GB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.122, allocations: 29.7 kB / 0.4895 GB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.1221, allocations: 124 kB / 0.4896 GB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1221, allocations: 27.73 kB / 0.4896 GB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.1222, allocations: 41.72 kB / 0.4897 GB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1223, allocations: 322.8 kB / 0.49 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.1225, allocations: 59.94 kB / 0.49 GB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.1228, allocations: 92.23 kB / 0.4901 GB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.1232, allocations: 173.8 kB / 0.4903 GB, free: 12.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1232, allocations: 8 kB / 0.4903 GB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005462/0.1237, allocations: 215.1 kB / 0.4905 GB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.1238, allocations: 33.69 kB / 0.4905 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1238, allocations: 4 kB / 0.4905 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1238, allocations: 0 / 0.4905 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.124, allocations: 36.09 kB / 0.4906 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.124, allocations: 0 / 0.4906 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1241, allocations: 19.94 kB / 0.4906 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1242, allocations: 4 kB / 0.4906 GB, free: 12.26 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.0001414/0.1243, allocations: 137.7 kB / 0.4907 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1243, allocations: 11.91 kB / 0.4907 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.1246, allocations: 94.86 kB / 0.4908 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1246, allocations: 7.984 kB / 0.4908 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1246, allocations: 0 / 0.4908 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1246, allocations: 4 kB / 0.4909 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.1249, allocations: 305.5 kB / 0.4911 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1249, allocations: 64 / 0.4911 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.125, allocations: 31.97 kB / 0.4912 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.125, allocations: 8 kB / 0.4912 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.125, allocations: 4 kB / 0.4912 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1251, allocations: 7.938 kB / 0.4912 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1251, allocations: 3.938 kB / 0.4912 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.1256, allocations: 294.8 kB / 0.4915 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.1256, allocations: 11.89 kB / 0.4915 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1256, allocations: 0 / 0.4915 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1258, allocations: 19.97 kB / 0.4915 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.1259, allocations: 27.91 kB / 0.4915 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1259, allocations: 8 kB / 0.4915 GB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.126, allocations: 127.2 kB / 0.4917 GB, free: 11.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.126, allocations: 0 / 0.4917 GB, free: 11.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1263, allocations: 27.95 kB / 0.4917 GB, free: 11.05 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.001145/0.1275, allocations: 0.8991 MB / 0.4926 GB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005425/0.128, allocations: 195.2 kB / 0.4928 GB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.128, allocations: 4 kB / 0.4928 GB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.1283, allocations: 76.23 kB / 0.4928 GB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1286, allocations: 24.11 kB / 0.4929 GB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.1318, allocations: 2.067 MB / 0.4949 GB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1322, allocations: 0.7235 MB / 0.4956 GB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.259e-05/0.1323, allocations: 16.42 kB / 0.4956 GB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.1324, allocations: 39.42 kB / 0.4956 GB, free: 6.789 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1324, allocations: 0 / 0.4956 GB, free: 6.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.1619, allocations: 3.197 MB / 0.4988 GB, free: 3.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.08, allocations: 4 kB / 0.4988 GB, free: 3.727 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.755991900106892] Failed to read output from testmodel.py, exit status != 0: 11.187541774939746 11.206801829 11.087050036 Calling exit ...