Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.001227/0.001227, allocations: 109.3 kB / 17.8 MB, free: 5.328 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.001267/0.001267, allocations: 192.5 kB / 20.74 MB, free: 2.387 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.436/1.436, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9465/0.9465, allocations: 149.7 MB / 453.7 MB, free: 10.54 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63 kB / 0.6285 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 87.86 MB / 0.7143 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006724/0.1682, allocations: 4.417 MB / 0.7186 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005307/0.1735, allocations: 3.291 MB / 0.7218 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.1738, allocations: 19.88 kB / 0.7218 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.1755, allocations: 0.5057 MB / 0.7223 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1765, allocations: 400.4 kB / 0.7227 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.1772, allocations: 247.4 kB / 0.723 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.178, allocations: 0.6073 MB / 0.7236 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006407/0.1787, allocations: 413.5 kB / 0.7239 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.1792, allocations: 303.1 kB / 0.7242 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.1796, allocations: 287 kB / 0.7245 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.1797, allocations: 44 kB / 0.7246 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.1803, allocations: 311.4 kB / 0.7248 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.1805, allocations: 167.5 kB / 0.725 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.1807, allocations: 234.9 kB / 0.7252 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1818, allocations: 0.7982 MB / 0.726 GB, free: 15.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1818, allocations: 0 / 0.726 GB, free: 15.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1818, allocations: 0 / 0.726 GB, free: 15.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.1818, allocations: 0 / 0.726 GB, free: 15.64 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001475/0.1833, allocations: 0.7902 MB / 0.7268 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1833, allocations: 12.03 kB / 0.7268 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.1864, allocations: 0.6792 MB / 0.7275 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.1873, allocations: 456 kB / 0.7279 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.1873, allocations: 29.02 kB / 0.7279 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.1874, allocations: 32.12 kB / 0.728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.1891, allocations: 0.7942 MB / 0.7287 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.1891, allocations: 0 / 0.7287 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.1891, allocations: 12 kB / 0.7287 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.1893, allocations: 44.61 kB / 0.7288 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.1913, allocations: 0.8686 MB / 0.7296 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004521/0.1958, allocations: 2.851 MB / 0.7324 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.1975, allocations: 0.5121 MB / 0.7329 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.1982, allocations: 252.6 kB / 0.7332 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.1983, allocations: 85.11 kB / 0.7332 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1984, allocations: 34.56 kB / 0.7333 GB, free: 7.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/0.1984, allocations: 0 / 0.7333 GB, free: 7.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.01313/0.2115, allocations: 3.244 MB / 0.7364 GB, free: 4.551 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.2116, allocations: 51.41 kB / 0.7365 GB, free: 4.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.2121, allocations: 401.6 kB / 0.7369 GB, free: 4.086 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.2121, allocations: 33.69 kB / 0.7369 GB, free: 4.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2123, allocations: 244.2 kB / 0.7371 GB, free: 3.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.2124, allocations: 83.27 kB / 0.7372 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.2126, allocations: 73.67 kB / 0.7373 GB, free: 3.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.2128, allocations: 346.8 kB / 0.7376 GB, free: 3.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009782/0.2138, allocations: 388.3 kB / 0.738 GB, free: 2.914 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2148, allocations: 448.4 kB / 0.7384 GB, free: 2.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.2167, allocations: 0.795 MB / 0.7392 GB, free: 1.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2167, allocations: 3.938 kB / 0.7392 GB, free: 1.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005476/0.2222, allocations: 1.577 MB / 0.7407 GB, free: 28 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.2222, allocations: 9.562 kB / 0.7407 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2222, allocations: 4.188 kB / 0.7407 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/0.2262, allocations: 0.8247 MB / 0.7416 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.2269, allocations: 127.8 kB / 0.7417 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.2346, allocations: 5.096 MB / 0.7467 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008621/0.2354, allocations: 111.8 kB / 0.7468 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.2355, allocations: 19.98 kB / 0.7468 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001232/0.2367, allocations: 0.5505 MB / 0.7473 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009847/0.2377, allocations: 442 kB / 0.7477 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001899/0.2396, allocations: 0.7686 MB / 0.7485 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/0.2396, allocations: 4 kB / 0.7485 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004693/0.2443, allocations: 1.412 MB / 0.7499 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.2443, allocations: 7.938 kB / 0.7499 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2443, allocations: 4 kB / 0.7499 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.247, allocations: 0.5987 MB / 0.7505 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.2477, allocations: 123.8 kB / 0.7506 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.2541, allocations: 4.691 MB / 0.7552 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009876/0.2551, allocations: 115.9 kB / 0.7553 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.2552, allocations: 15.98 kB / 0.7553 GB, free: 480 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002941/0.2555, allocations: 204.1 kB / 0.7555 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.2556, allocations: 39.75 kB / 0.7555 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/0.2606, allocations: 1.4 MB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2606, allocations: 4 kB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.2606, allocations: 0 / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2607, allocations: 4 kB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/0.2665, allocations: 2.066 MB / 0.7589 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2665, allocations: 48 / 0.7589 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.2669, allocations: 87.81 kB / 0.759 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003288/0.2701, allocations: 0.7272 MB / 0.7597 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.2702, allocations: 8 kB / 0.7597 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006854/0.2771, allocations: 4.874 MB / 0.7645 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2771, allocations: 4.031 kB / 0.7645 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.2815, allocations: 1.402 MB / 0.7658 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.2819, allocations: 164.8 kB / 0.766 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.282, allocations: 4 kB / 0.766 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.2826, allocations: 87.84 kB / 0.7661 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2828, allocations: 23.97 kB / 0.7661 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.2828, allocations: 8 kB / 0.7661 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004664/0.2833, allocations: 311.1 kB / 0.7664 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2833, allocations: 0 / 0.7664 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009554/0.2842, allocations: 219.9 kB / 0.7666 GB, free: 4.426 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.2844, allocations: 114.1 kB / 0.7667 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004199/0.2886, allocations: 1.725 MB / 0.7684 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.2886, allocations: 4.125 kB / 0.7684 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.2899, allocations: 0.626 MB / 0.769 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.2906, allocations: 131.3 kB / 0.7692 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.2929, allocations: 1.112 MB / 0.7702 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.2936, allocations: 0.8976 MB / 0.7711 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.2937, allocations: 39.41 kB / 0.7712 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.2937, allocations: 4 kB / 0.7712 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.01904/0.3128, allocations: 12.81 MB / 0.7837 GB, free: 2.855 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.548143468913622] Failed to read output from testmodel.py, exit status != 0: 0.32083171303384006 0.335001999 0.150345543 Calling exit ...