Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 191.1 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.04 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.03952/0.03952, allocations: 4.708 MB / 311 MB, free: 4.172 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 433.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 53.3 MB / 486.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003126/0.1129, allocations: 1.726 MB / 488.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.1138, allocations: 0.4908 MB / 488.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.1139, allocations: 0 / 488.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.114, allocations: 15.86 kB / 488.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.147e-05/0.1141, allocations: 19.73 kB / 488.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1143, allocations: 39.94 kB / 488.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1145, allocations: 119.6 kB / 488.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1147, allocations: 37.2 kB / 489 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1148, allocations: 67.77 kB / 489 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1149, allocations: 59.7 kB / 489.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.115, allocations: 8 kB / 489.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.619e-05/0.115, allocations: 12 kB / 489.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.115, allocations: 19.92 kB / 489.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.1151, allocations: 47.73 kB / 489.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.1153, allocations: 115.4 kB / 489.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1153, allocations: 0 / 489.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1153, allocations: 0 / 489.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1153, allocations: 0 / 489.3 MB, free: 10.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000923/0.1163, allocations: 395.4 kB / 489.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1163, allocations: 12.03 kB / 489.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.1164, allocations: 12.84 kB / 489.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1166, allocations: 144.8 kB / 489.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1166, allocations: 12.31 kB / 489.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1166, allocations: 12.12 kB / 489.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.1171, allocations: 172.4 kB / 490 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1171, allocations: 0 / 490 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1171, allocations: 0 / 490 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1171, allocations: 4 kB / 490 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.1176, allocations: 131.8 kB / 490.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1186, allocations: 0.6956 MB / 490.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.1191, allocations: 181 kB / 491 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.1194, allocations: 92.27 kB / 491.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1194, allocations: 7.984 kB / 491.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.1198, allocations: 159.5 kB / 491.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1198, allocations: 0 / 491.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008391/0.1207, allocations: 253.5 kB / 491.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1208, allocations: 158.2 kB / 491.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.121, allocations: 170.2 kB / 491.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.121, allocations: 26.08 kB / 491.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.1211, allocations: 112.1 kB / 492 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.1211, allocations: 43.67 kB / 492 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.1212, allocations: 25.72 kB / 492.1 MB, free: 7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1214, allocations: 322.8 kB / 492.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1216, allocations: 63.94 kB / 492.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.1219, allocations: 100.2 kB / 492.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.1223, allocations: 181.8 kB / 492.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1223, allocations: 0 / 492.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005907/0.1229, allocations: 223.1 kB / 492.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.123, allocations: 32.05 kB / 493 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.123, allocations: 8.094 kB / 493 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.123, allocations: 3.938 kB / 493 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1232, allocations: 39.89 kB / 493 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1232, allocations: 0 / 493 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.1234, allocations: 27.88 kB / 493 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.1234, allocations: 8.062 kB / 493 MB, free: 5.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.0001331/0.1235, allocations: 134.6 kB / 493.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1236, allocations: 15.91 kB / 493.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.1238, allocations: 93.92 kB / 493.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1238, allocations: 4 kB / 493.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1238, allocations: 0 / 493.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1238, allocations: 0 / 493.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.1242, allocations: 408.7 kB / 493.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.1243, allocations: 12 kB / 493.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1244, allocations: 23.97 kB / 493.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1244, allocations: 4 kB / 493.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1244, allocations: 0 / 493.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1244, allocations: 4 kB / 493.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1244, allocations: 0 / 493.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.1251, allocations: 381 kB / 494.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.1251, allocations: 15.83 kB / 494.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1251, allocations: 8 kB / 494.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.1253, allocations: 19.97 kB / 494.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.1254, allocations: 19.97 kB / 494.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1254, allocations: 4 kB / 494.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1256, allocations: 127.2 kB / 494.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1256, allocations: 0 / 494.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1259, allocations: 27.95 kB / 494.3 MB, free: 4.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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.0001227/0.126, allocations: 103.2 kB / 494.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.1266, allocations: 203.3 kB / 494.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1266, allocations: 0 / 494.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.1269, allocations: 84.05 kB / 494.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1273, allocations: 28.3 kB / 494.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.128, allocations: 287.1 kB / 495 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1284, allocations: 0.7204 MB / 495.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.1285, allocations: 16.48 kB / 495.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.1285, allocations: 11.44 kB / 495.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1285, allocations: 0 / 495.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Templates: time 0.004775/0.1333, allocations: 1.47 MB / 497.2 MB, free: 1.594 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.593928781338036] Failed to read output from testmodel.py, exit status != 0: 0.14053521864116192 0.15579041400000002 0.037414562000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff55d2e57b0>