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.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.001731/0.001731, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001969/0.001969, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.481/1.481, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.02409/0.02409, allocations: 3.576 MB / 262.8 MB, free: 13.24 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.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 1.593e-06/1.593e-06, allocations: 0 / 387.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.735e-05, allocations: 2.281 kB / 387.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.0029/0.002927, allocations: 1.689 MB / 389 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.003893, allocations: 0.5181 MB / 389.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.003973, allocations: 7.938 kB / 389.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.004089, allocations: 11.86 kB / 389.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.004172, allocations: 35.72 kB / 389.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.004442, allocations: 55.8 kB / 389.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.004647, allocations: 127.5 kB / 389.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.004894, allocations: 33.28 kB / 389.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.005097, allocations: 83.73 kB / 389.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.005195, allocations: 47.88 kB / 389.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.005224, allocations: 8 kB / 389.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.005275, allocations: 19.98 kB / 389.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.005325, allocations: 23.86 kB / 389.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.005394, allocations: 35.91 kB / 390 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.00559, allocations: 111.7 kB / 390.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.005595, allocations: 4 kB / 390.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005595, allocations: 3.938 kB / 390.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.005599, allocations: 0 / 390.1 MB, free: 12.34 MB / 318.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.0008119/0.006411, allocations: 407.3 kB / 390.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.006444, allocations: 12.03 kB / 390.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.006676, allocations: 28.83 kB / 390.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.006897, allocations: 152.6 kB / 390.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.006913, allocations: 8.375 kB / 390.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.006932, allocations: 4.375 kB / 390.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.007345, allocations: 175.6 kB / 390.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.007357, allocations: 4.125 kB / 390.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.007372, allocations: 4.375 kB / 390.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.00738, allocations: 7.938 kB / 390.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.007797, allocations: 123.8 kB / 391 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.008652, allocations: 0.6299 MB / 391.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.009161, allocations: 200.8 kB / 391.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.009419, allocations: 92.31 kB / 391.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.009441, allocations: 4 kB / 391.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.00981, allocations: 167.5 kB / 392.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.009811, allocations: 0 / 392.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007977/0.01061, allocations: 245.3 kB / 392.3 MB, free: 9.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/0.01071, allocations: 158.5 kB / 392.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.01086, allocations: 162.9 kB / 392.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.01089, allocations: 29.7 kB / 392.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.01098, allocations: 116 kB / 392.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.01101, allocations: 39.66 kB / 392.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.01108, allocations: 33.7 kB / 392.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.01123, allocations: 330.8 kB / 393.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.01148, allocations: 85.64 kB / 393.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.01175, allocations: 133.2 kB / 393.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.01222, allocations: 177.8 kB / 393.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01222, allocations: 0 / 393.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006155/0.01284, allocations: 260.8 kB / 393.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.01288, allocations: 33.7 kB / 393.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01288, allocations: 0 / 393.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.0129, allocations: 0 / 393.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.01307, allocations: 39.91 kB / 393.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.01308, allocations: 3.984 kB / 393.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.01324, allocations: 24.03 kB / 393.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.01325, allocations: 4 kB / 393.9 MB, free: 8.152 MB / 318.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.0001287/0.01338, allocations: 133.8 kB / 394 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.01341, allocations: 7.953 kB / 394.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.01362, allocations: 93.92 kB / 394.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.01362, allocations: 4 kB / 394.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01363, allocations: 0 / 394.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.01363, allocations: 4 kB / 394.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.01401, allocations: 377.3 kB / 394.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01402, allocations: 0 / 394.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.01416, allocations: 27.97 kB / 394.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01416, allocations: 0 / 394.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01418, allocations: 4 kB / 394.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01418, allocations: 3.984 kB / 394.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01418, allocations: 8.406 kB / 394.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.01479, allocations: 365.2 kB / 394.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.01482, allocations: 23.88 kB / 394.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.01485, allocations: 4 kB / 395 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.01504, allocations: 11.98 kB / 395 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.01511, allocations: 31.78 kB / 395 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.01513, allocations: 12.05 kB / 395 MB, free: 6.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.01523, allocations: 115.2 kB / 395.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01523, allocations: 4 kB / 395.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.01554, allocations: 24 kB / 395.1 MB, free: 6.844 MB / 318.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.000102/0.01564, allocations: 99.19 kB / 395.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006159/0.01625, allocations: 236.8 kB / 395.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01626, allocations: 192 / 395.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.01653, allocations: 83.86 kB / 395.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.01692, allocations: 20.05 kB / 395.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.01753, allocations: 289.4 kB / 395.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.01766, allocations: 113.4 kB / 396 MB, free: 5.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.586e-05/0.01772, allocations: 12.48 kB / 396 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.01777, allocations: 12.5 kB / 396 MB, free: 5.906 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01777, allocations: 0 / 396 MB, free: 5.906 MB / 318.1 MB Notification: Performance of Templates: time 0.004669/0.02244, allocations: 1.421 MB / 397.4 MB, free: 4.504 MB / 318.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.324815224856138] Failed to read output from testmodel.py, exit status != 0: 0.030953507870435715 0.045703303 0.037072925 Calling exit ...