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.001251/0.001251, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002129/0.002129, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.02982/0.02982, allocations: 4.715 MB / 317.9 MB, free: 14.31 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.002994/0.002994, allocations: 71.88 kB / 441.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1161, allocations: 54.49 MB / 496.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003019/0.1191, allocations: 1.665 MB / 498.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.1201, allocations: 0.5104 MB / 498.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.1202, allocations: 7.938 kB / 498.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.1203, allocations: 11.86 kB / 498.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.1204, allocations: 27.73 kB / 498.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1207, allocations: 63.84 kB / 498.7 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1209, allocations: 115.6 kB / 498.8 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.121, allocations: 25.3 kB / 498.9 MB, free: 344 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1212, allocations: 71.75 kB / 498.9 MB, free: 272 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1213, allocations: 55.7 kB / 499 MB, free: 216 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.1213, allocations: 8 kB / 499 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.1214, allocations: 20 kB / 499 MB, free: 188 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.1214, allocations: 19.92 kB / 499 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.1215, allocations: 47.72 kB / 499.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1217, allocations: 107.5 kB / 499.2 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1217, allocations: 0 / 499.2 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1217, allocations: 0 / 499.2 MB, free: 12 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1217, allocations: 0 / 499.2 MB, free: 12 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.0008139/0.1225, allocations: 399.3 kB / 499.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1225, allocations: 12.03 kB / 499.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.082e-05/0.1226, allocations: 16.3 kB / 499.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.1227, allocations: 54.91 kB / 499.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.1229, allocations: 36.81 kB / 499.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1231, allocations: 150.3 kB / 499.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1231, allocations: 12.55 kB / 499.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.1232, allocations: 16.12 kB / 499.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.1236, allocations: 195.5 kB / 0.4883 GB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1236, allocations: 3.953 kB / 0.4883 GB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1237, allocations: 4 kB / 0.4883 GB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1237, allocations: 8 kB / 0.4883 GB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.1241, allocations: 147.8 kB / 0.4885 GB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1251, allocations: 0.7229 MB / 0.4892 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.1256, allocations: 209 kB / 0.4894 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.1259, allocations: 120.2 kB / 0.4895 GB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1259, allocations: 4 kB / 0.4895 GB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/0.1263, allocations: 175.5 kB / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/0.1263, allocations: 0 / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001857/0.1282, allocations: 0.6062 MB / 0.4903 GB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1283, allocations: 166.2 kB / 0.4904 GB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1284, allocations: 178.3 kB / 0.4906 GB, free: 12.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.1285, allocations: 33.7 kB / 0.4906 GB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.1286, allocations: 108.5 kB / 0.4907 GB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.1286, allocations: 83.36 kB / 0.4908 GB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.1287, allocations: 41.7 kB / 0.4908 GB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1289, allocations: 330.8 kB / 0.4912 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.1292, allocations: 129.6 kB / 0.4913 GB, free: 11.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.1296, allocations: 193.3 kB / 0.4915 GB, free: 11.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.1302, allocations: 297.1 kB / 0.4918 GB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1302, allocations: 0 / 0.4918 GB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008223/0.131, allocations: 376.5 kB / 0.4921 GB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.1311, allocations: 33.7 kB / 0.4921 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1311, allocations: 7.938 kB / 0.4922 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1311, allocations: 4 kB / 0.4922 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1314, allocations: 60.09 kB / 0.4922 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1314, allocations: 11.94 kB / 0.4922 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1316, allocations: 27.97 kB / 0.4923 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.1316, allocations: 8.5 kB / 0.4923 GB, free: 10.69 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.0001371/0.1318, allocations: 141.7 kB / 0.4924 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1318, allocations: 15.91 kB / 0.4924 GB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.1322, allocations: 166.9 kB / 0.4926 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1322, allocations: 8 kB / 0.4926 GB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1322, allocations: 4 kB / 0.4926 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1322, allocations: 0 / 0.4926 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.1337, allocations: 0.9623 MB / 0.4935 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.1337, allocations: 4 kB / 0.4935 GB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.134, allocations: 51.95 kB / 0.4936 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.134, allocations: 4 kB / 0.4936 GB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.134, allocations: 7.938 kB / 0.4936 GB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.134, allocations: 11.92 kB / 0.4936 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.134, allocations: 0 / 0.4936 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.1349, allocations: 0.699 MB / 0.4943 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.135, allocations: 19.91 kB / 0.4943 GB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.135, allocations: 11.88 kB / 0.4943 GB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.1354, allocations: 31.95 kB / 0.4943 GB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.1355, allocations: 27.97 kB / 0.4944 GB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.1355, allocations: 11.98 kB / 0.4944 GB, free: 8.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1356, allocations: 131.2 kB / 0.4945 GB, free: 8.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1356, allocations: 0 / 0.4945 GB, free: 8.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.1361, allocations: 40 kB / 0.4945 GB, free: 8.238 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.001645/0.1377, allocations: 1.369 MB / 0.4959 GB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.1385, allocations: 354.1 kB / 0.4962 GB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1385, allocations: 0 / 0.4962 GB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.1389, allocations: 148.9 kB / 0.4964 GB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.1396, allocations: 35.58 kB / 0.4964 GB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.1438, allocations: 2.957 MB / 0.4993 GB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.144, allocations: 119.3 kB / 0.4994 GB, free: 3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.1441, allocations: 37.45 kB / 0.4994 GB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1442, allocations: 51.42 kB / 0.4995 GB, free: 2.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1443, allocations: 0 / 0.4995 GB, free: 2.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1685, allocations: 4.297 MB / 0.5037 GB, free: 14.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.29, allocations: 7.344 kB / 0.5037 GB, free: 14.76 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.996185297961347] Failed to read output from testmodel.py, exit status != 0: 11.454883336904459 11.479957648 11.353684751 Calling exit ...