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.001696/0.001696, 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.001917/0.001917, allocations: 212.3 kB / 22.25 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.801 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.02624/0.02624, allocations: 4.707 MB / 317.1 MB, free: 14.42 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: translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") [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.002244/0.002244, allocations: 71.89 kB / 441.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.123, allocations: 54.49 MB / 496.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005241/0.1282, allocations: 2.993 MB / 499.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1303, allocations: 0.8224 MB / 500 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.1307, allocations: 11.94 kB / 500 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.131, allocations: 55.44 kB / 0.4883 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.1314, allocations: 126.9 kB / 0.4884 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.132, allocations: 151.7 kB / 0.4886 GB, free: 14.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008993/0.1329, allocations: 0.518 MB / 0.4891 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004898/0.1334, allocations: 175.3 kB / 0.4893 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.1339, allocations: 207.4 kB / 0.4895 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.1343, allocations: 183.1 kB / 0.4896 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.1345, allocations: 59.98 kB / 0.4897 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1347, allocations: 56 kB / 0.4897 GB, free: 13.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1348, allocations: 103.7 kB / 0.4898 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.1351, allocations: 183.3 kB / 0.49 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000845/0.136, allocations: 0.5605 MB / 0.4906 GB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.136, allocations: 0 / 0.4906 GB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.136, allocations: 0 / 0.4906 GB, free: 12.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.136, allocations: 0 / 0.4906 GB, free: 12.3 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.002028/0.138, allocations: 0.6827 MB / 0.4912 GB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1381, allocations: 8.031 kB / 0.4912 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.1384, allocations: 60.69 kB / 0.4913 GB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.139, allocations: 269.3 kB / 0.4916 GB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.1391, allocations: 106.3 kB / 0.4917 GB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.1392, allocations: 28.38 kB / 0.4917 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1402, allocations: 401.1 kB / 0.4921 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1403, allocations: 3.938 kB / 0.4921 GB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.1403, allocations: 16 kB / 0.4921 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.1403, allocations: 8 kB / 0.4921 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/0.1412, allocations: 318.4 kB / 0.4924 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.1439, allocations: 1.154 MB / 0.4935 GB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1451, allocations: 361.2 kB / 0.4939 GB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.1456, allocations: 181.6 kB / 0.494 GB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.1456, allocations: 4 kB / 0.494 GB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/0.1463, allocations: 246 kB / 0.4943 GB, free: 8.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.405e-06/0.1463, allocations: 0 / 0.4943 GB, free: 8.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001445/0.1477, allocations: 0.4892 MB / 0.4948 GB, free: 7.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1478, allocations: 85.11 kB / 0.4948 GB, free: 7.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.1481, allocations: 265.8 kB / 0.4951 GB, free: 7.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.1482, allocations: 37.69 kB / 0.4951 GB, free: 7.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1484, allocations: 192.5 kB / 0.4953 GB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1485, allocations: 99.2 kB / 0.4954 GB, free: 7.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.1487, allocations: 57.64 kB / 0.4955 GB, free: 7.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.1489, allocations: 342.9 kB / 0.4958 GB, free: 6.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.1494, allocations: 189.5 kB / 0.496 GB, free: 6.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.1499, allocations: 226.8 kB / 0.4962 GB, free: 6.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.1508, allocations: 367.2 kB / 0.4965 GB, free: 5.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1508, allocations: 3.938 kB / 0.4965 GB, free: 5.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001245/0.1521, allocations: 488.5 kB / 0.497 GB, free: 5.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/0.1521, allocations: 40.05 kB / 0.497 GB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1521, allocations: 0 / 0.497 GB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.1522, allocations: 4 kB / 0.497 GB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.1533, allocations: 211.8 kB / 0.4972 GB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.1554, allocations: 1.55 MB / 0.4988 GB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.1559, allocations: 43.84 kB / 0.4988 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.1559, allocations: 15.98 kB / 0.4988 GB, free: 3.43 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.0003456/0.1563, allocations: 181.6 kB / 0.499 GB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.1564, allocations: 27.86 kB / 0.499 GB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.1574, allocations: 375.6 kB / 0.4994 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1574, allocations: 4 kB / 0.4994 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1574, allocations: 0 / 0.4994 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1574, allocations: 0 / 0.4994 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.158, allocations: 321 kB / 0.4997 GB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.158, allocations: 7.922 kB / 0.4997 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.1591, allocations: 203.7 kB / 0.4999 GB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1591, allocations: 7.938 kB / 0.4999 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.1591, allocations: 8 kB / 0.4999 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.161, allocations: 1.561 MB / 0.5014 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.161, allocations: 0 / 0.5014 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.1625, allocations: 0.569 MB / 0.502 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.1627, allocations: 31.94 kB / 0.502 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.1627, allocations: 8.031 kB / 0.502 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.163, allocations: 31.72 kB / 0.502 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.1631, allocations: 23.95 kB / 0.5021 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.1631, allocations: 12 kB / 0.5021 GB, free: 15.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1634, allocations: 197.1 kB / 0.5023 GB, free: 15.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1634, allocations: 4 kB / 0.5023 GB, free: 15.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005332/0.164, allocations: 91.84 kB / 0.5024 GB, free: 15.63 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.0001406/0.1641, allocations: 99.25 kB / 0.5025 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.1658, allocations: 0.5438 MB / 0.503 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1658, allocations: 192 / 0.503 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.167, allocations: 311.7 kB / 0.5033 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1674, allocations: 36.47 kB / 0.5033 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1697, allocations: 0.8857 MB / 0.5042 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.17, allocations: 196.8 kB / 0.5044 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.1702, allocations: 29.94 kB / 0.5044 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1703, allocations: 31.42 kB / 0.5044 GB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1703, allocations: 0 / 0.5044 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Templates: time 0.01281/0.1831, allocations: 3.977 MB / 0.5083 GB, free: 9.504 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile [Timeout 660] (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 & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.314646380022168] Failed to read output from testmodel.py, exit status != 0: 0.19524740241467953 0.46223714099999996 0.32243642499999997 Calling exit ...