Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.001347/0.001347, allocations: 100.4 kB / 20.45 MB, free: 1.25 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.001473/0.001473, allocations: 209.4 kB / 23.74 MB, free: 4.449 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9451/0.9451, allocations: 149.9 MB / 463.8 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 660] "Notification: IBPSA 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.002135/0.002135, allocations: 63.81 kB / 0.6423 GB, free: 9.688 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1882, allocations: 89.18 MB / 0.7294 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004822/0.193, allocations: 2.873 MB / 0.7322 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003216/0.1962, allocations: 1.741 MB / 0.7339 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1963, allocations: 11.88 kB / 0.7339 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.1972, allocations: 235.2 kB / 0.7341 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.1978, allocations: 203 kB / 0.7343 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.1983, allocations: 219.4 kB / 0.7345 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.1988, allocations: 331 kB / 0.7348 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.1991, allocations: 158.3 kB / 0.735 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.1994, allocations: 143.5 kB / 0.7351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.1996, allocations: 151.4 kB / 0.7353 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.1997, allocations: 20 kB / 0.7353 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.2001, allocations: 247.5 kB / 0.7355 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.2003, allocations: 99.64 kB / 0.7356 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2004, allocations: 95.58 kB / 0.7357 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.201, allocations: 450.4 kB / 0.7361 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.201, allocations: 4 kB / 0.7361 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.201, allocations: 0 / 0.7361 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.201, allocations: 0 / 0.7361 GB, free: 9.609 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001039/0.2021, allocations: 493.2 kB / 0.7366 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2021, allocations: 12.03 kB / 0.7366 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/0.203, allocations: 104.7 kB / 0.7367 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.2035, allocations: 214 kB / 0.7369 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.2035, allocations: 20.73 kB / 0.7369 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.2035, allocations: 16.38 kB / 0.737 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.2044, allocations: 420.2 kB / 0.7374 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2044, allocations: 0 / 0.7374 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.2045, allocations: 8 kB / 0.7374 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.2045, allocations: 28.3 kB / 0.7374 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.2053, allocations: 340.6 kB / 0.7377 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.2077, allocations: 1.401 MB / 0.7391 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007677/0.2084, allocations: 318.8 kB / 0.7394 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.2087, allocations: 133.6 kB / 0.7395 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.2089, allocations: 15.98 kB / 0.7395 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.2089, allocations: 38.5 kB / 0.7396 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 2.225e-06/0.2089, allocations: 0 / 0.7396 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001471/0.2104, allocations: 0.5305 MB / 0.7401 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2104, allocations: 77.11 kB / 0.7402 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.2107, allocations: 202.8 kB / 0.7403 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2107, allocations: 29.7 kB / 0.7404 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2109, allocations: 164.2 kB / 0.7405 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.211, allocations: 91.38 kB / 0.7406 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2111, allocations: 61.92 kB / 0.7407 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2112, allocations: 326.8 kB / 0.741 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.2116, allocations: 145.9 kB / 0.7411 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.212, allocations: 227.3 kB / 0.7413 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.2126, allocations: 383.6 kB / 0.7417 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2127, allocations: 8 kB / 0.7417 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009329/0.2136, allocations: 439.9 kB / 0.7421 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2136, allocations: 16.02 kB / 0.7422 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2136, allocations: 4 kB / 0.7422 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.2139, allocations: 36.83 kB / 0.7422 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.2142, allocations: 79.86 kB / 0.7423 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.2159, allocations: 1.473 MB / 0.7437 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.2162, allocations: 47.84 kB / 0.7438 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.2162, allocations: 20.17 kB / 0.7438 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004234/0.2167, allocations: 240.6 kB / 0.744 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003725/0.217, allocations: 222.9 kB / 0.7442 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006521/0.2177, allocations: 367.9 kB / 0.7446 GB, free: 452 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.2177, allocations: 0 / 0.7446 GB, free: 452 kB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009214/0.2186, allocations: 431.6 kB / 0.745 GB, free: 12 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2186, allocations: 8 kB / 0.745 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2186, allocations: 0 / 0.745 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.2188, allocations: 52.8 kB / 0.745 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.2192, allocations: 67.88 kB / 0.7451 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.2207, allocations: 1.486 MB / 0.7466 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.221, allocations: 35.86 kB / 0.7466 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.221, allocations: 19.98 kB / 0.7466 GB, free: 14.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.2212, allocations: 193.1 kB / 0.7468 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.2213, allocations: 15.91 kB / 0.7468 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.222, allocations: 367.9 kB / 0.7472 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.222, allocations: 3.938 kB / 0.7472 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.222, allocations: 4 kB / 0.7472 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.222, allocations: 0 / 0.7472 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.2236, allocations: 0.8583 MB / 0.748 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2236, allocations: 4 kB / 0.748 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.2238, allocations: 47.91 kB / 0.7481 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.224, allocations: 40.81 kB / 0.7481 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.224, allocations: 11.94 kB / 0.7481 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.2253, allocations: 1.378 MB / 0.7494 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2253, allocations: 8.031 kB / 0.7495 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.2261, allocations: 0.5432 MB / 0.75 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2263, allocations: 43.83 kB / 0.75 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2263, allocations: 11.94 kB / 0.75 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2266, allocations: 23.97 kB / 0.7501 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.2267, allocations: 19.91 kB / 0.7501 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.2267, allocations: 12 kB / 0.7501 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001986/0.2269, allocations: 160.1 kB / 0.7502 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2269, allocations: 0 / 0.7502 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006468/0.2275, allocations: 108 kB / 0.7503 GB, free: 10.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.2277, allocations: 107.2 kB / 0.7504 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.2292, allocations: 0.7301 MB / 0.7512 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2292, allocations: 0 / 0.7512 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.2297, allocations: 274.5 kB / 0.7514 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.2301, allocations: 31.86 kB / 0.7515 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2313, allocations: 0.6116 MB / 0.7521 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.2314, allocations: 157.4 kB / 0.7522 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.2316, allocations: 27.44 kB / 0.7522 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of SimCode: time 6.12e-07/0.2316, allocations: 0 / 0.7522 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.007749/0.2393, allocations: 4.441 MB / 0.7566 GB, free: 3.719 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.990077727939934] Failed to read output from testmodel.py, exit status != 0: 0.24911760492250323 0.629428659 0.425296814 Calling exit ...