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.001328/0.001328, allocations: 105 kB / 20.45 MB, free: 1.5 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.001486/0.001486, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.9623/0.9623, allocations: 150 MB / 463.9 MB, free: 10.48 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.002076/0.002076, allocations: 65.38 kB / 0.6425 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1825, allocations: 89.17 MB / 0.7296 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004564/0.1871, allocations: 2.976 MB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.1901, allocations: 1.905 MB / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1902, allocations: 4 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000822/0.191, allocations: 250.7 kB / 0.7346 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.1914, allocations: 203.1 kB / 0.7348 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.192, allocations: 227.4 kB / 0.735 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1924, allocations: 323 kB / 0.7353 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.1927, allocations: 154.4 kB / 0.7354 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.1929, allocations: 143.5 kB / 0.7356 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.1932, allocations: 159.5 kB / 0.7357 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.1933, allocations: 20 kB / 0.7357 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.1937, allocations: 287.4 kB / 0.736 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1938, allocations: 91.72 kB / 0.7361 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1939, allocations: 119.3 kB / 0.7362 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.1945, allocations: 442.5 kB / 0.7366 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1945, allocations: 0 / 0.7366 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1945, allocations: 0 / 0.7366 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1945, allocations: 0 / 0.7366 GB, free: 9.48 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.0009717/0.1955, allocations: 0.4972 MB / 0.7371 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1955, allocations: 8.031 kB / 0.7371 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/0.1964, allocations: 112.7 kB / 0.7372 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.1968, allocations: 198.1 kB / 0.7374 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1968, allocations: 24.72 kB / 0.7375 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.1969, allocations: 24.31 kB / 0.7375 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.1976, allocations: 394.5 kB / 0.7379 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1976, allocations: 4 kB / 0.7379 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1976, allocations: 7.938 kB / 0.7379 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.1977, allocations: 28.31 kB / 0.7379 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.1984, allocations: 340.6 kB / 0.7382 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.2005, allocations: 1.695 MB / 0.7399 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.2012, allocations: 321 kB / 0.7402 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.2015, allocations: 141.6 kB / 0.7403 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.2016, allocations: 15.97 kB / 0.7403 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.2016, allocations: 42.48 kB / 0.7404 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.2016, allocations: 4 kB / 0.7404 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001368/0.203, allocations: 0.5272 MB / 0.7409 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.203, allocations: 81.11 kB / 0.741 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.2033, allocations: 216 kB / 0.7412 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2033, allocations: 25.7 kB / 0.7412 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2034, allocations: 164.2 kB / 0.7414 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.2035, allocations: 71.38 kB / 0.7414 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2036, allocations: 65.92 kB / 0.7415 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2038, allocations: 326.8 kB / 0.7418 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.2041, allocations: 145.9 kB / 0.7419 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.2044, allocations: 230.4 kB / 0.7422 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.2051, allocations: 380 kB / 0.7425 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2051, allocations: 0 / 0.7425 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009055/0.206, allocations: 453.8 kB / 0.743 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.206, allocations: 4 kB / 0.743 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.206, allocations: 7.984 kB / 0.743 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.2063, allocations: 45.17 kB / 0.743 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.2066, allocations: 75.88 kB / 0.7431 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.2082, allocations: 1.504 MB / 0.7445 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.2085, allocations: 35.91 kB / 0.7446 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2085, allocations: 19.98 kB / 0.7446 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003896/0.2089, allocations: 248.7 kB / 0.7448 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003498/0.2093, allocations: 218.9 kB / 0.745 GB, free: 324 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006091/0.2099, allocations: 368.5 kB / 0.7454 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.2099, allocations: 0 / 0.7454 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008915/0.2108, allocations: 427 kB / 0.7458 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2108, allocations: 4 kB / 0.7458 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2108, allocations: 11.94 kB / 0.7458 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.2109, allocations: 49.16 kB / 0.7459 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.2113, allocations: 71.88 kB / 0.7459 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.2128, allocations: 1.516 MB / 0.7474 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.2131, allocations: 27.97 kB / 0.7474 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.2131, allocations: 15.98 kB / 0.7475 GB, free: 13.68 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.0001931/0.2133, allocations: 203.5 kB / 0.7477 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.2134, allocations: 27.8 kB / 0.7477 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.2141, allocations: 350.2 kB / 0.748 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2141, allocations: 4 kB / 0.748 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2141, allocations: 0 / 0.748 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2141, allocations: 0 / 0.748 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.2157, allocations: 0.9395 MB / 0.7489 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2157, allocations: 4.062 kB / 0.7489 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.2159, allocations: 55.83 kB / 0.749 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.2161, allocations: 40.83 kB / 0.749 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2161, allocations: 4 kB / 0.749 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.2174, allocations: 1.42 MB / 0.7504 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.2174, allocations: 4.031 kB / 0.7504 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/0.2181, allocations: 0.5418 MB / 0.751 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2182, allocations: 43.81 kB / 0.751 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.2183, allocations: 11.95 kB / 0.751 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.2186, allocations: 23.97 kB / 0.751 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.2187, allocations: 23.91 kB / 0.7511 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2187, allocations: 8 kB / 0.7511 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002084/0.2189, allocations: 167 kB / 0.7512 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2189, allocations: 0 / 0.7512 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006504/0.2195, allocations: 115.9 kB / 0.7513 GB, free: 9.48 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.0001548/0.2197, allocations: 111.1 kB / 0.7514 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.2212, allocations: 0.7336 MB / 0.7522 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2212, allocations: 0.9375 kB / 0.7522 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.2216, allocations: 258.5 kB / 0.7524 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.2221, allocations: 31.98 kB / 0.7524 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.2233, allocations: 0.5967 MB / 0.753 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.2237, allocations: 0.7716 MB / 0.7538 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.2238, allocations: 31.42 kB / 0.7538 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.2238, allocations: 0 / 0.7538 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of Templates: time 0.007413/0.2313, allocations: 4.37 MB / 0.7581 GB, free: 2.469 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: 9.01286965701729] Failed to read output from testmodel.py, exit status != 0: 0.24046541890129447 0.587961235 0.39048938899999996 Calling exit ...