Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001316/0.001316, 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.001557/0.001557, allocations: 216.4 kB / 22.25 MB, free: 5.113 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 / 256 MB, free: 8.219 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.02553/0.02553, allocations: 4.719 MB / 317.2 MB, free: 14.52 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.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.001902/0.001902, allocations: 63.91 kB / 441.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 54.49 MB / 495.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004431/0.1072, allocations: 2.933 MB / 498.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1087, allocations: 0.7518 MB / 499.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1089, allocations: 7.938 kB / 499.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.1091, allocations: 43.58 kB / 499.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1093, allocations: 95.14 kB / 499.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.1097, allocations: 127.8 kB / 499.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.1101, allocations: 386.5 kB / 0.4884 GB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.1104, allocations: 140.8 kB / 0.4885 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.1107, allocations: 151.5 kB / 0.4886 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.111, allocations: 155.4 kB / 0.4888 GB, free: 14.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.1111, allocations: 40 kB / 0.4888 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.1111, allocations: 47.94 kB / 0.4889 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.1112, allocations: 75.77 kB / 0.4889 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1114, allocations: 175.2 kB / 0.4891 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.1119, allocations: 394.6 kB / 0.4895 GB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1119, allocations: 0 / 0.4895 GB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1119, allocations: 0 / 0.4895 GB, free: 13.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.1119, allocations: 7.922 kB / 0.4895 GB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001198/0.1131, allocations: 0.577 MB / 0.4901 GB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1132, allocations: 12.03 kB / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.1132, allocations: 58.72 kB / 0.4901 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.1135, allocations: 56.67 kB / 0.4902 GB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1138, allocations: 218 kB / 0.4904 GB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1138, allocations: 16.88 kB / 0.4904 GB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.1139, allocations: 32.38 kB / 0.4904 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.1145, allocations: 314.8 kB / 0.4907 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1145, allocations: 0 / 0.4907 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.1146, allocations: 4 kB / 0.4907 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1146, allocations: 8 kB / 0.4907 GB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.1152, allocations: 249.8 kB / 0.491 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.1168, allocations: 0.959 MB / 0.4919 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.1176, allocations: 272.3 kB / 0.4922 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.1179, allocations: 128.8 kB / 0.4923 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.1179, allocations: 3.984 kB / 0.4923 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.1183, allocations: 179.2 kB / 0.4925 GB, free: 10.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 3.546e-06/0.1183, allocations: 4 kB / 0.4925 GB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009447/0.1192, allocations: 379.8 kB / 0.4928 GB, free: 10.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1193, allocations: 55.41 kB / 0.4929 GB, free: 10.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.1195, allocations: 228.9 kB / 0.4931 GB, free: 9.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.1195, allocations: 29.7 kB / 0.4931 GB, free: 9.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1197, allocations: 172.3 kB / 0.4933 GB, free: 9.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.1198, allocations: 75.38 kB / 0.4934 GB, free: 9.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.1199, allocations: 45.7 kB / 0.4934 GB, free: 9.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.12, allocations: 338.8 kB / 0.4937 GB, free: 9.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.1203, allocations: 103.9 kB / 0.4938 GB, free: 9.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.1206, allocations: 151.3 kB / 0.494 GB, free: 8.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.1213, allocations: 285.2 kB / 0.4943 GB, free: 8.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1213, allocations: 0 / 0.4943 GB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007977/0.1221, allocations: 365.9 kB / 0.4946 GB, free: 8.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.1221, allocations: 37.69 kB / 0.4946 GB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1221, allocations: 0 / 0.4946 GB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1222, allocations: 4.094 kB / 0.4946 GB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.1225, allocations: 59.95 kB / 0.4947 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1225, allocations: 7.938 kB / 0.4947 GB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1227, allocations: 31.81 kB / 0.4947 GB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.1227, allocations: 15.98 kB / 0.4948 GB, free: 8.051 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001732/0.1229, allocations: 145.8 kB / 0.4949 GB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.1229, allocations: 35.78 kB / 0.4949 GB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/0.1237, allocations: 306.8 kB / 0.4952 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1237, allocations: 4 kB / 0.4952 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1237, allocations: 3.938 kB / 0.4952 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1237, allocations: 0 / 0.4952 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.1241, allocations: 344.4 kB / 0.4956 GB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1241, allocations: 0 / 0.4956 GB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.1245, allocations: 67.83 kB / 0.4956 GB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1245, allocations: 4 kB / 0.4956 GB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1245, allocations: 7.984 kB / 0.4956 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1245, allocations: 0 / 0.4956 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1245, allocations: 7.938 kB / 0.4956 GB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.1255, allocations: 450.9 kB / 0.4961 GB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1255, allocations: 31.81 kB / 0.4961 GB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1256, allocations: 8 kB / 0.4961 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1257, allocations: 15.97 kB / 0.4961 GB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.1258, allocations: 19.97 kB / 0.4961 GB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1258, allocations: 8 kB / 0.4962 GB, free: 6.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.126, allocations: 168.5 kB / 0.4963 GB, free: 6.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.126, allocations: 0 / 0.4963 GB, free: 6.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1263, allocations: 67.83 kB / 0.4964 GB, free: 6.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * 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.001542/0.1278, allocations: 0.987 MB / 0.4973 GB, free: 5.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.1285, allocations: 309.9 kB / 0.4976 GB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1285, allocations: 8.25 kB / 0.4976 GB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.1289, allocations: 119.8 kB / 0.4978 GB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1292, allocations: 32.42 kB / 0.4978 GB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.1338, allocations: 2.819 MB / 0.5005 GB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.1345, allocations: 0.7671 MB / 0.5013 GB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1346, allocations: 29.62 kB / 0.5013 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.1348, allocations: 83.41 kB / 0.5014 GB, free: 1.004 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1348, allocations: 0 / 0.5014 GB, free: 1.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.1711, allocations: 5.581 MB / 0.5069 GB, free: 11.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.4, allocations: 11.61 kB / 0.5069 GB, free: 11.56 MB / 382.1 MB " [Timeout remaining time 648] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.15661680395715] Failed to read output from testmodel.py, exit status != 0: 11.510185902938247 11.712689383 11.597350488 Calling exit ...