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.001824/0.001824, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002365/0.002365, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.706/1.706, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.02711/0.02711, allocations: 4.713 MB / 317.9 MB, free: 14.57 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.002178/0.002178, allocations: 59.91 kB / 442.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09824, allocations: 54.5 MB / 497 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005138/0.1034, allocations: 3.247 MB / 0.4885 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1052, allocations: 0.8652 MB / 0.4894 GB, free: 14.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.1055, allocations: 7.938 kB / 0.4894 GB, free: 14.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1057, allocations: 55.44 kB / 0.4894 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.106, allocations: 126.9 kB / 0.4896 GB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.1066, allocations: 167.6 kB / 0.4897 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007233/0.1073, allocations: 0.5024 MB / 0.4902 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.1077, allocations: 187.4 kB / 0.4904 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.1081, allocations: 207.4 kB / 0.4906 GB, free: 13.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.1084, allocations: 207.1 kB / 0.4908 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.1085, allocations: 56 kB / 0.4908 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1086, allocations: 60 kB / 0.4909 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1088, allocations: 103.7 kB / 0.491 GB, free: 13.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.109, allocations: 231 kB / 0.4912 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.1097, allocations: 0.5566 MB / 0.4917 GB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1097, allocations: 3.938 kB / 0.4918 GB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1097, allocations: 0 / 0.4918 GB, free: 12.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1097, allocations: 0 / 0.4918 GB, free: 12.23 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.001595/0.1113, allocations: 0.6711 MB / 0.4924 GB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1114, allocations: 8.031 kB / 0.4924 GB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.1117, allocations: 64.67 kB / 0.4925 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.1121, allocations: 273.3 kB / 0.4927 GB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.1123, allocations: 110.3 kB / 0.4928 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-05/0.1124, allocations: 32.38 kB / 0.4929 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.1132, allocations: 397.1 kB / 0.4933 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1133, allocations: 0 / 0.4933 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.1133, allocations: 12 kB / 0.4933 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1133, allocations: 11.94 kB / 0.4933 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.1142, allocations: 322.4 kB / 0.4936 GB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.1166, allocations: 1.464 MB / 0.495 GB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1177, allocations: 357.3 kB / 0.4954 GB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.1181, allocations: 187.2 kB / 0.4955 GB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.1182, allocations: 11.98 kB / 0.4955 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/0.1187, allocations: 235.5 kB / 0.4958 GB, free: 7.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.1187, allocations: 0 / 0.4958 GB, free: 7.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00139/0.1201, allocations: 0.4899 MB / 0.4962 GB, free: 7.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.1202, allocations: 81.11 kB / 0.4963 GB, free: 7.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.1205, allocations: 308.2 kB / 0.4966 GB, free: 6.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.1206, allocations: 29.7 kB / 0.4966 GB, free: 6.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1207, allocations: 200.6 kB / 0.4968 GB, free: 6.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/0.1208, allocations: 87.22 kB / 0.4969 GB, free: 6.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1209, allocations: 57.7 kB / 0.497 GB, free: 6.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1211, allocations: 338.8 kB / 0.4973 GB, free: 6.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.1215, allocations: 147.9 kB / 0.4974 GB, free: 6.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.122, allocations: 209 kB / 0.4976 GB, free: 5.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008607/0.1229, allocations: 363.2 kB / 0.498 GB, free: 5.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1229, allocations: 4 kB / 0.498 GB, free: 5.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001063/0.1239, allocations: 454.8 kB / 0.4984 GB, free: 5.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.124, allocations: 33.7 kB / 0.4985 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.124, allocations: 4.156 kB / 0.4985 GB, free: 5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.124, allocations: 4 kB / 0.4985 GB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.125, allocations: 219.7 kB / 0.4987 GB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.1269, allocations: 1.584 MB / 0.5002 GB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.1272, allocations: 39.81 kB / 0.5003 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1273, allocations: 15.94 kB / 0.5003 GB, free: 3.031 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.0002241/0.1275, allocations: 181.7 kB / 0.5004 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1275, allocations: 27.81 kB / 0.5005 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009576/0.1285, allocations: 383.8 kB / 0.5008 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1285, allocations: 0 / 0.5008 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1285, allocations: 4 kB / 0.5008 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1285, allocations: 3.984 kB / 0.5008 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.129, allocations: 416.3 kB / 0.5012 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.129, allocations: 4 kB / 0.5012 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.1301, allocations: 207.6 kB / 0.5014 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1301, allocations: 4 kB / 0.5014 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1301, allocations: 11.98 kB / 0.5015 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.1319, allocations: 1.572 MB / 0.503 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1319, allocations: 0 / 0.503 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.1333, allocations: 0.5873 MB / 0.5036 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.1334, allocations: 31.75 kB / 0.5036 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.1334, allocations: 8 kB / 0.5036 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.1337, allocations: 23.97 kB / 0.5036 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1338, allocations: 27.95 kB / 0.5037 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.1338, allocations: 19.98 kB / 0.5037 GB, free: 15.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1341, allocations: 207.1 kB / 0.5039 GB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1341, allocations: 0 / 0.5039 GB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.1345, allocations: 87.83 kB / 0.504 GB, free: 15.07 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.0001194/0.1346, allocations: 107.2 kB / 0.5041 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.1362, allocations: 0.507 MB / 0.5046 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1362, allocations: 0 / 0.5046 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.1373, allocations: 288.3 kB / 0.5048 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1377, allocations: 54.97 kB / 0.5049 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.1398, allocations: 0.8958 MB / 0.5058 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.1402, allocations: 0.7909 MB / 0.5065 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1403, allocations: 27.44 kB / 0.5066 GB, free: 12.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1403, allocations: 4 kB / 0.5066 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Templates: time 0.009539/0.1499, allocations: 6.013 MB / 0.5124 GB, free: 6.312 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: 7.881344493012875] Failed to read output from testmodel.py, exit status != 0: 0.1584867499768734 0.32911210700000004 0.216625953 Calling exit ...