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.001279/0.001279, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001453/0.001453, allocations: 211.8 kB / 22.24 MB, free: 4.859 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.805 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.02436/0.02436, allocations: 4.722 MB / 317.1 MB, free: 14.34 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.00213/0.00213, allocations: 75.89 kB / 441.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09482, allocations: 54.49 MB / 495.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004666/0.09948, allocations: 2.708 MB / 498.4 MB, free: 80 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.101, allocations: 0.7206 MB / 499.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1012, allocations: 7.938 kB / 499.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1014, allocations: 39.59 kB / 499.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1016, allocations: 95.14 kB / 499.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.102, allocations: 119.8 kB / 499.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.1024, allocations: 386.5 kB / 499.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.1027, allocations: 132.8 kB / 499.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.103, allocations: 151.5 kB / 0.4883 GB, free: 14.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1032, allocations: 139.3 kB / 0.4884 GB, free: 14.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.1033, allocations: 44 kB / 0.4885 GB, free: 14.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.721e-05/0.1034, allocations: 43.94 kB / 0.4885 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.1034, allocations: 79.75 kB / 0.4886 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1036, allocations: 135.5 kB / 0.4887 GB, free: 14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.104, allocations: 406.5 kB / 0.4891 GB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1041, allocations: 0 / 0.4891 GB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1041, allocations: 0 / 0.4891 GB, free: 13.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1041, allocations: 0 / 0.4891 GB, free: 13.61 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.00119/0.1053, allocations: 0.5769 MB / 0.4897 GB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1053, allocations: 8.031 kB / 0.4897 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.439e-05/0.1054, allocations: 62.72 kB / 0.4897 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.1056, allocations: 48.73 kB / 0.4898 GB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.106, allocations: 226 kB / 0.49 GB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.106, allocations: 16.88 kB / 0.49 GB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.1061, allocations: 20.38 kB / 0.49 GB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.1067, allocations: 318.8 kB / 0.4903 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1067, allocations: 0 / 0.4903 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.1068, allocations: 11.98 kB / 0.4904 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1068, allocations: 8 kB / 0.4904 GB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.1074, allocations: 241.8 kB / 0.4906 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1089, allocations: 0.8425 MB / 0.4914 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.1096, allocations: 265.8 kB / 0.4917 GB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.11, allocations: 128.8 kB / 0.4918 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.11, allocations: 4 kB / 0.4918 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.1104, allocations: 186.5 kB / 0.492 GB, free: 10.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.1104, allocations: 0 / 0.492 GB, free: 10.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001037/0.1115, allocations: 377.5 kB / 0.4923 GB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1115, allocations: 63.39 kB / 0.4924 GB, free: 10.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.1118, allocations: 217 kB / 0.4926 GB, free: 9.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.1118, allocations: 33.7 kB / 0.4926 GB, free: 9.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1119, allocations: 172.3 kB / 0.4928 GB, free: 9.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.112, allocations: 83.31 kB / 0.4929 GB, free: 9.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1121, allocations: 49.66 kB / 0.4929 GB, free: 9.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1123, allocations: 330.8 kB / 0.4932 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.1126, allocations: 141.6 kB / 0.4934 GB, free: 9.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.1129, allocations: 177.1 kB / 0.4935 GB, free: 8.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.1135, allocations: 289.2 kB / 0.4938 GB, free: 8.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1135, allocations: 0 / 0.4938 GB, free: 8.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007871/0.1143, allocations: 391.7 kB / 0.4942 GB, free: 8.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.1144, allocations: 33.7 kB / 0.4942 GB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1144, allocations: 0 / 0.4942 GB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1144, allocations: 0 / 0.4942 GB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.1147, allocations: 59.95 kB / 0.4943 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.1148, allocations: 7.938 kB / 0.4943 GB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.115, allocations: 43.95 kB / 0.4943 GB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.115, allocations: 8 kB / 0.4943 GB, free: 7.977 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.0001741/0.1152, allocations: 145.8 kB / 0.4945 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1152, allocations: 31.75 kB / 0.4945 GB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/0.1159, allocations: 309.2 kB / 0.4948 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1159, allocations: 4 kB / 0.4948 GB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1159, allocations: 4 kB / 0.4948 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1159, allocations: 0 / 0.4948 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.1163, allocations: 304.5 kB / 0.4951 GB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1163, allocations: 0 / 0.4951 GB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.1166, allocations: 55.84 kB / 0.4952 GB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1166, allocations: 7.984 kB / 0.4952 GB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1167, allocations: 4 kB / 0.4952 GB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1167, allocations: 0 / 0.4952 GB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1167, allocations: 4 kB / 0.4952 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1177, allocations: 459.1 kB / 0.4956 GB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.1177, allocations: 27.77 kB / 0.4956 GB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.1178, allocations: 4 kB / 0.4956 GB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1179, allocations: 27.91 kB / 0.4957 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.118, allocations: 19.97 kB / 0.4957 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.118, allocations: 16.05 kB / 0.4957 GB, free: 6.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1182, allocations: 160.4 kB / 0.4958 GB, free: 6.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1182, allocations: 0 / 0.4958 GB, free: 6.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1185, allocations: 67.89 kB / 0.4959 GB, free: 6.281 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.001313/0.1198, allocations: 0.9964 MB / 0.4969 GB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.1205, allocations: 337.4 kB / 0.4972 GB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1205, allocations: 4 kB / 0.4972 GB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.1209, allocations: 120 kB / 0.4973 GB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1212, allocations: 40.36 kB / 0.4974 GB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.1256, allocations: 2.927 MB / 0.5002 GB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.1258, allocations: 162.5 kB / 0.5004 GB, free: 1.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.1259, allocations: 29.62 kB / 0.5004 GB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.1261, allocations: 83.41 kB / 0.5005 GB, free: 1.406 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1261, allocations: 0 / 0.5005 GB, free: 1.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.1595, allocations: 6.004 MB / 0.5064 GB, free: 11.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.31, allocations: 3.75 kB / 0.5064 GB, free: 11.56 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.967585585080087] Failed to read output from testmodel.py, exit status != 0: 11.421982118394226 11.6365478 11.528255145 Calling exit ...