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.001636/0.001636, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001908/0.001908, allocations: 212.3 kB / 22.99 MB, free: 4.945 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.02551/0.02551, allocations: 4.728 MB / 317.9 MB, free: 14.3 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.00219/0.00219, allocations: 67.89 kB / 442.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.09739, allocations: 54.49 MB / 496.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005088/0.1025, allocations: 3.008 MB / 499.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1043, allocations: 0.8186 MB / 0.489 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.1046, allocations: 11.94 kB / 0.489 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.1048, allocations: 59.44 kB / 0.4891 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.1052, allocations: 118.9 kB / 0.4892 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1057, allocations: 159.7 kB / 0.4893 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007263/0.1064, allocations: 0.5102 MB / 0.4898 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.1068, allocations: 179.4 kB / 0.49 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1072, allocations: 199.4 kB / 0.4902 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.1076, allocations: 175.1 kB / 0.4904 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/0.1076, allocations: 56 kB / 0.4904 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1078, allocations: 67.98 kB / 0.4905 GB, free: 12.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1079, allocations: 99.69 kB / 0.4906 GB, free: 12.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.1081, allocations: 183.2 kB / 0.4908 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.1088, allocations: 0.5606 MB / 0.4913 GB, free: 12.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1088, allocations: 0 / 0.4913 GB, free: 12.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1088, allocations: 0 / 0.4913 GB, free: 12.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1089, allocations: 0 / 0.4913 GB, free: 12.03 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.001598/0.1105, allocations: 0.6827 MB / 0.492 GB, free: 11.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1105, allocations: 8.031 kB / 0.492 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.1108, allocations: 64.67 kB / 0.492 GB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1112, allocations: 261.3 kB / 0.4923 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.1114, allocations: 114.3 kB / 0.4924 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.1115, allocations: 36.31 kB / 0.4924 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.1123, allocations: 397.1 kB / 0.4928 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1123, allocations: 0 / 0.4928 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.1124, allocations: 16 kB / 0.4928 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1124, allocations: 11.94 kB / 0.4928 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/0.1132, allocations: 322.3 kB / 0.4931 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.1153, allocations: 1.154 MB / 0.4943 GB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1163, allocations: 363.8 kB / 0.4946 GB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.1167, allocations: 184 kB / 0.4948 GB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1168, allocations: 4 kB / 0.4948 GB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/0.1173, allocations: 238.7 kB / 0.495 GB, free: 8.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.1173, allocations: 0 / 0.495 GB, free: 8.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001337/0.1187, allocations: 0.4892 MB / 0.4955 GB, free: 7.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1187, allocations: 81.11 kB / 0.4956 GB, free: 7.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.119, allocations: 274 kB / 0.4958 GB, free: 7.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.1191, allocations: 33.7 kB / 0.4959 GB, free: 7.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1192, allocations: 196.5 kB / 0.4961 GB, free: 6.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1193, allocations: 95.2 kB / 0.4961 GB, free: 6.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.1195, allocations: 57.66 kB / 0.4962 GB, free: 6.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1196, allocations: 346.7 kB / 0.4965 GB, free: 6.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.1201, allocations: 173.6 kB / 0.4967 GB, free: 6.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/0.1206, allocations: 242.7 kB / 0.4969 GB, free: 5.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008632/0.1214, allocations: 363.2 kB / 0.4973 GB, free: 5.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1214, allocations: 4 kB / 0.4973 GB, free: 5.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001062/0.1225, allocations: 484.7 kB / 0.4977 GB, free: 5.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.1225, allocations: 33.69 kB / 0.4978 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1225, allocations: 4 kB / 0.4978 GB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1226, allocations: 0 / 0.4978 GB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.1236, allocations: 219.7 kB / 0.498 GB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.1255, allocations: 1.558 MB / 0.4995 GB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.1258, allocations: 43.75 kB / 0.4996 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.1258, allocations: 12.16 kB / 0.4996 GB, free: 3.148 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.0002299/0.126, allocations: 181.7 kB / 0.4997 GB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.1261, allocations: 27.8 kB / 0.4998 GB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.127, allocations: 375.5 kB / 0.5001 GB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.127, allocations: 4 kB / 0.5001 GB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.127, allocations: 7.984 kB / 0.5001 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.127, allocations: 0 / 0.5001 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.1275, allocations: 325 kB / 0.5004 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.1275, allocations: 7.875 kB / 0.5005 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.1285, allocations: 199.7 kB / 0.5006 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1285, allocations: 7.938 kB / 0.5006 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1285, allocations: 8 kB / 0.5007 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.1303, allocations: 1.545 MB / 0.5022 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1303, allocations: 0 / 0.5022 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.1317, allocations: 0.5769 MB / 0.5027 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.1318, allocations: 31.75 kB / 0.5028 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1318, allocations: 8 kB / 0.5028 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.132, allocations: 31.95 kB / 0.5028 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.1321, allocations: 27.95 kB / 0.5028 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.1322, allocations: 15.98 kB / 0.5028 GB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.1324, allocations: 189.2 kB / 0.503 GB, free: 15.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1324, allocations: 0 / 0.503 GB, free: 15.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.1329, allocations: 91.84 kB / 0.5031 GB, free: 15.35 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.000127/0.133, allocations: 103.2 kB / 0.5032 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.1346, allocations: 0.5399 MB / 0.5037 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1346, allocations: 0 / 0.5037 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.1357, allocations: 288 kB / 0.504 GB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1361, allocations: 56.48 kB / 0.5041 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.1383, allocations: 0.8951 MB / 0.5049 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.1385, allocations: 196.8 kB / 0.5051 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1386, allocations: 23.44 kB / 0.5051 GB, free: 13.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1386, allocations: 0 / 0.5051 GB, free: 13.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01009/0.1487, allocations: 6.095 MB / 0.5111 GB, free: 7.098 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.584636098705232] Failed to read output from testmodel.py, exit status != 0: 0.15693169413134456 0.33667167000000003 0.225004157 Calling exit ...