Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.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.001682/0.001682, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.001933/0.001933, allocations: 215 kB / 20.13 MB, free: 2.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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.02334/0.02334, allocations: 4.716 MB / 314.3 MB, free: 1.879 MB / 238.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.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",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.001997/0.001997, allocations: 68.8 kB / 436.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.0945, allocations: 54.45 MB / 491.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004098/0.0986, allocations: 4.012 MB / 495.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.09996, allocations: 0.9933 MB / 496.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.1002, allocations: 15.94 kB / 496.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.1004, allocations: 83.16 kB / 496.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1006, allocations: 166.5 kB / 496.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1009, allocations: 203.7 kB / 496.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.1014, allocations: 0.7558 MB / 497.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.1018, allocations: 380.5 kB / 497.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1021, allocations: 287.1 kB / 498.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.1023, allocations: 302.8 kB / 498.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.1024, allocations: 84 kB / 498.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1025, allocations: 95.94 kB / 498.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.1026, allocations: 151.6 kB / 498.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1028, allocations: 346.6 kB / 499 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.1033, allocations: 0.8409 MB / 499.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1033, allocations: 0 / 499.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1033, allocations: 7.938 kB / 499.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1033, allocations: 0 / 499.9 MB, free: 4.844 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001391/0.1047, allocations: 0.9063 MB / 0.4891 GB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1048, allocations: 12.03 kB / 0.4891 GB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.883e-05/0.1048, allocations: 13.19 kB / 0.4891 GB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.1049, allocations: 98.64 kB / 0.4892 GB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.1052, allocations: 96.47 kB / 0.4893 GB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.1056, allocations: 399.2 kB / 0.4896 GB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1056, allocations: 37.38 kB / 0.4897 GB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/0.1057, allocations: 48.38 kB / 0.4897 GB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/0.1066, allocations: 0.5887 MB / 0.4903 GB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1066, allocations: 0 / 0.4903 GB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.1066, allocations: 20 kB / 0.4903 GB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1067, allocations: 15.98 kB / 0.4903 GB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.1075, allocations: 475.6 kB / 0.4908 GB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.1095, allocations: 1.884 MB / 0.4926 GB, free: 64 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.1103, allocations: 397.8 kB / 0.493 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/0.1108, allocations: 258.2 kB / 0.4933 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.1108, allocations: 4.281 kB / 0.4933 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006148/0.1114, allocations: 312.3 kB / 0.4936 GB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.503e-06/0.1114, allocations: 0 / 0.4936 GB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001585/0.113, allocations: 0.6599 MB / 0.4942 GB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.1131, allocations: 81.11 kB / 0.4943 GB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.1135, allocations: 348.5 kB / 0.4946 GB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.1135, allocations: 29.7 kB / 0.4946 GB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.1138, allocations: 264.4 kB / 0.4949 GB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1139, allocations: 134.9 kB / 0.495 GB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.114, allocations: 78.14 kB / 0.4951 GB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1142, allocations: 354.7 kB / 0.4954 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.1147, allocations: 200.8 kB / 0.4956 GB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.1152, allocations: 279.4 kB / 0.4959 GB, free: 12.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/0.1162, allocations: 0.4983 MB / 0.4964 GB, free: 12.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1162, allocations: 0 / 0.4964 GB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001172/0.1173, allocations: 0.5978 MB / 0.497 GB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.1174, allocations: 29.7 kB / 0.497 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1174, allocations: 4 kB / 0.497 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1174, allocations: 4 kB / 0.497 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.118, allocations: 123.8 kB / 0.4971 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.118, allocations: 4.188 kB / 0.4971 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.1183, allocations: 63.64 kB / 0.4972 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.1183, allocations: 16 kB / 0.4972 GB, free: 11.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0002641/0.1186, allocations: 219.7 kB / 0.4974 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.1186, allocations: 35.77 kB / 0.4974 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.1196, allocations: 465.6 kB / 0.4979 GB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1196, allocations: 4 kB / 0.4979 GB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1196, allocations: 4 kB / 0.4979 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1196, allocations: 0 / 0.4979 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.1203, allocations: 0.5986 MB / 0.4985 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1203, allocations: 0 / 0.4985 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.1209, allocations: 115.8 kB / 0.4986 GB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1209, allocations: 4 kB / 0.4986 GB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1209, allocations: 8 kB / 0.4986 GB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1209, allocations: 8 kB / 0.4986 GB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1209, allocations: 0 / 0.4986 GB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.1225, allocations: 0.7903 MB / 0.4994 GB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.1225, allocations: 117 kB / 0.4995 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.1226, allocations: 12 kB / 0.4995 GB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.1228, allocations: 23.97 kB / 0.4995 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.123, allocations: 39.94 kB / 0.4996 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.123, allocations: 12.17 kB / 0.4996 GB, free: 8.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.1233, allocations: 247 kB / 0.4998 GB, free: 8.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1233, allocations: 4 kB / 0.4998 GB, free: 8.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.1237, allocations: 135.7 kB / 0.4999 GB, free: 8.305 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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.001907/0.1256, allocations: 1.334 MB / 0.5012 GB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.1267, allocations: 0.5072 MB / 0.5017 GB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1267, allocations: 0 / 0.5017 GB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.1272, allocations: 227.7 kB / 0.502 GB, free: 6.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1276, allocations: 71.83 kB / 0.502 GB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007301/0.1349, allocations: 4.488 MB / 0.5064 GB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.1354, allocations: 0.8735 MB / 0.5073 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.1357, allocations: 54.92 kB / 0.5073 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.136, allocations: 163.4 kB / 0.5075 GB, free: 400 kB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.136, allocations: 0 / 0.5075 GB, free: 400 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.1651, allocations: 8.967 MB / 0.5162 GB, free: 7.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.039/9.204, allocations: 14.56 kB / 0.5162 GB, free: 7.555 MB / 382.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.84352105401922] Failed to read output from testmodel.py, exit status != 0: 9.334540834010113 9.357566766 9.250140288 Calling exit ...