Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.001421/0.001421, allocations: 80.84 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.001522/0.001522, allocations: 158.6 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.04965/0.04965, allocations: 3.572 MB / 262.7 MB, free: 13.27 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_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 387.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.485e-05, allocations: 2.281 kB / 387.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002863/0.002888, allocations: 1.67 MB / 388.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.00388, allocations: 0.5259 MB / 389.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.003962, allocations: 0 / 389.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.004078, allocations: 23.8 kB / 389.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.004155, allocations: 15.75 kB / 389.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.004426, allocations: 59.8 kB / 389.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.004649, allocations: 131.5 kB / 389.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.004801, allocations: 29.08 kB / 389.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.005015, allocations: 79.8 kB / 389.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.005113, allocations: 43.83 kB / 389.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.005143, allocations: 12 kB / 389.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-05/0.005211, allocations: 15.98 kB / 389.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.005258, allocations: 23.92 kB / 389.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.005328, allocations: 35.89 kB / 389.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.005539, allocations: 111.6 kB / 390 MB, free: 12.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005541, allocations: 0 / 390 MB, free: 12.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005542, allocations: 0 / 390 MB, free: 12.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.005552, allocations: 0 / 390 MB, free: 12.41 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008671/0.006419, allocations: 399.4 kB / 390.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.006455, allocations: 12.03 kB / 390.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.006695, allocations: 28.83 kB / 390.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.006934, allocations: 156.5 kB / 390.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.006948, allocations: 8.375 kB / 390.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.006975, allocations: 8.375 kB / 390.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.007406, allocations: 170.3 kB / 390.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007416, allocations: 4.188 kB / 390.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.007431, allocations: 384 / 390.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.007443, allocations: 7.938 kB / 390.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.007872, allocations: 119.8 kB / 390.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.008817, allocations: 0.6299 MB / 391.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.009251, allocations: 172.9 kB / 391.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.009499, allocations: 84.33 kB / 391.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.00952, allocations: 7.938 kB / 391.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.009894, allocations: 159.5 kB / 392 MB, free: 10.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.009896, allocations: 0 / 392 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008237/0.01072, allocations: 233.7 kB / 392.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.01082, allocations: 162.3 kB / 392.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.01101, allocations: 166.9 kB / 392.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.01103, allocations: 25.7 kB / 392.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01115, allocations: 112.2 kB / 392.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.01118, allocations: 31.73 kB / 392.7 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.01125, allocations: 25.72 kB / 392.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.01144, allocations: 330.7 kB / 393 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.0117, allocations: 85.64 kB / 393.1 MB, free: 9.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.01198, allocations: 129.9 kB / 393.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.01246, allocations: 169.8 kB / 393.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01246, allocations: 7.938 kB / 393.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006371/0.0131, allocations: 244.8 kB / 393.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.01316, allocations: 37.7 kB / 393.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01316, allocations: 0 / 393.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.01319, allocations: 4 kB / 393.7 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.01337, allocations: 32.03 kB / 393.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.01338, allocations: 4 kB / 393.7 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.01355, allocations: 23.92 kB / 393.8 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01357, allocations: 4 kB / 393.8 MB, free: 8.312 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 (11): * Single equations (assignments): 10 * 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.0001379/0.0137, allocations: 133.7 kB / 393.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.01373, allocations: 11.95 kB / 393.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.01399, allocations: 93.92 kB / 394 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.014, allocations: 4.031 kB / 394 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.014, allocations: 4 kB / 394 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01401, allocations: 192 / 394 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.01429, allocations: 258.2 kB / 394.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.01429, allocations: 4 kB / 394.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.01444, allocations: 27.91 kB / 394.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.01444, allocations: 3.984 kB / 394.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.01446, allocations: 4 kB / 394.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.01447, allocations: 3.984 kB / 394.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01447, allocations: 4 kB / 394.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.01507, allocations: 286.7 kB / 394.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.0151, allocations: 15.91 kB / 394.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.01513, allocations: 7.984 kB / 394.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.0153, allocations: 15.98 kB / 394.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.01539, allocations: 23.84 kB / 394.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.01541, allocations: 12.06 kB / 394.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.01552, allocations: 123.2 kB / 394.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01552, allocations: 0 / 394.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.0158, allocations: 24 kB / 394.8 MB, free: 7.191 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 (9): * Single equations (assignments): 7 * 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.0001198/0.01592, allocations: 99.17 kB / 394.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.01651, allocations: 221 kB / 395.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01651, allocations: 0 / 395.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.01679, allocations: 79.86 kB / 395.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.01711, allocations: 22.11 kB / 395.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.01774, allocations: 269.5 kB / 395.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01785, allocations: 106.7 kB / 395.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.528e-05/0.01791, allocations: 12.72 kB / 395.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.01797, allocations: 20.48 kB / 395.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01797, allocations: 0 / 395.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of Templates: time 0.00471/0.02268, allocations: 1.399 MB / 397 MB, free: 4.922 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.377837218344212] Failed to read output from testmodel.py, exit status != 0: 0.031083766371011734 0.045971075 0.037326581000000005 Calling exit ...