Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.00131/0.00131, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001658/0.001658, allocations: 214.8 kB / 22.25 MB, free: 5.129 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.988 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.02518/0.02518, allocations: 4.724 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_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",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.001985/0.001985, allocations: 67.91 kB / 441.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1029, allocations: 54.5 MB / 495.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.00491/0.1078, allocations: 3.25 MB / 499 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1096, allocations: 0.8651 MB / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.1099, allocations: 7.938 kB / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1102, allocations: 63.38 kB / 499.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.1105, allocations: 122.9 kB / 0.4883 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.1111, allocations: 155.8 kB / 0.4885 GB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000921/0.112, allocations: 0.5102 MB / 0.489 GB, free: 14.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005031/0.1125, allocations: 187.4 kB / 0.4892 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.113, allocations: 211.3 kB / 0.4894 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.1135, allocations: 207.1 kB / 0.4896 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.1136, allocations: 56 kB / 0.4896 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.1138, allocations: 56 kB / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1139, allocations: 103.7 kB / 0.4898 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.1142, allocations: 231 kB / 0.49 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007916/0.115, allocations: 0.5528 MB / 0.4905 GB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.115, allocations: 0 / 0.4905 GB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.115, allocations: 0 / 0.4905 GB, free: 12.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.1151, allocations: 0 / 0.4905 GB, free: 12.67 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001746/0.1168, allocations: 0.6789 MB / 0.4912 GB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1168, allocations: 12.03 kB / 0.4912 GB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.1169, allocations: 74.66 kB / 0.4913 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.1173, allocations: 56.69 kB / 0.4913 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.1178, allocations: 265.3 kB / 0.4916 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.1179, allocations: 114.2 kB / 0.4917 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.118, allocations: 28.38 kB / 0.4917 GB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.1189, allocations: 400.9 kB / 0.4921 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1189, allocations: 0 / 0.4921 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.119, allocations: 12 kB / 0.4921 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.119, allocations: 8 kB / 0.4921 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.1198, allocations: 322.4 kB / 0.4924 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.1222, allocations: 1.472 MB / 0.4939 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1233, allocations: 369.2 kB / 0.4942 GB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.1237, allocations: 181.6 kB / 0.4944 GB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.1237, allocations: 4 kB / 0.4944 GB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.1243, allocations: 240.9 kB / 0.4946 GB, free: 8.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.1243, allocations: 4 kB / 0.4946 GB, free: 8.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001364/0.1257, allocations: 497.2 kB / 0.4951 GB, free: 7.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.1258, allocations: 85.09 kB / 0.4952 GB, free: 7.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.1261, allocations: 300.1 kB / 0.4955 GB, free: 7.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.1262, allocations: 33.7 kB / 0.4955 GB, free: 7.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1263, allocations: 196.6 kB / 0.4957 GB, free: 7.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1264, allocations: 91.22 kB / 0.4958 GB, free: 7.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1266, allocations: 57.69 kB / 0.4958 GB, free: 6.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1267, allocations: 338.8 kB / 0.4961 GB, free: 6.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.1272, allocations: 151.9 kB / 0.4963 GB, free: 6.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.1276, allocations: 197 kB / 0.4965 GB, free: 6.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008288/0.1284, allocations: 379.1 kB / 0.4968 GB, free: 5.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1284, allocations: 0 / 0.4968 GB, free: 5.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001065/0.1295, allocations: 462.9 kB / 0.4973 GB, free: 5.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.1295, allocations: 29.7 kB / 0.4973 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1296, allocations: 4 kB / 0.4973 GB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1296, allocations: 4 kB / 0.4973 GB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009996/0.1306, allocations: 211.7 kB / 0.4975 GB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.1325, allocations: 1.577 MB / 0.4991 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1328, allocations: 43.84 kB / 0.4991 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.1328, allocations: 11.98 kB / 0.4991 GB, free: 3.391 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.1331, allocations: 183.7 kB / 0.4993 GB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.1331, allocations: 35.81 kB / 0.4993 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008979/0.134, allocations: 363.6 kB / 0.4997 GB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.134, allocations: 4 kB / 0.4997 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.134, allocations: 0 / 0.4997 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.134, allocations: 0 / 0.4997 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.1346, allocations: 436.2 kB / 0.5001 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1346, allocations: 0 / 0.5001 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/0.1356, allocations: 211.6 kB / 0.5003 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1356, allocations: 0 / 0.5003 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.1356, allocations: 12 kB / 0.5003 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.1373, allocations: 1.58 MB / 0.5018 GB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1373, allocations: 0 / 0.5018 GB, free: 440 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.1387, allocations: 0.5756 MB / 0.5024 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.1388, allocations: 39.72 kB / 0.5024 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.1388, allocations: 8 kB / 0.5025 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.1391, allocations: 31.97 kB / 0.5025 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.1391, allocations: 27.95 kB / 0.5025 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1392, allocations: 4 kB / 0.5025 GB, free: 15.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.1394, allocations: 211.1 kB / 0.5027 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1394, allocations: 0 / 0.5027 GB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.1398, allocations: 91.83 kB / 0.5028 GB, free: 15.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001651/0.1415, allocations: 1.133 MB / 0.5039 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.1431, allocations: 0.5031 MB / 0.5044 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1431, allocations: 4 kB / 0.5044 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.1441, allocations: 299.8 kB / 0.5047 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.1445, allocations: 48.95 kB / 0.5047 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.151, allocations: 3.571 MB / 0.5082 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.1515, allocations: 0.7986 MB / 0.509 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.1516, allocations: 34.28 kB / 0.509 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.1518, allocations: 107.4 kB / 0.5091 GB, free: 8.734 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1518, allocations: 4 kB / 0.5091 GB, free: 8.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.1892, allocations: 7.262 MB / 0.5162 GB, free: 1.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.04, allocations: 3.594 kB / 0.5162 GB, free: 1.629 MB / 382.1 MB " [Timeout remaining time 647] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.777358018094674] Failed to read output from testmodel.py, exit status != 0: 13.166648022830486 13.342859079 13.225282036 Calling exit ...