Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0007501/0.0007501, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009587/0.001709, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0007123/0.0007123, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008662/0.001578, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9513/0.9513, allocations: 177.1 MB / 189.6 MB, free: 3.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1833/1.135, allocations: 53.65 MB / 243.2 MB, free: 2.324 MB / 234.7 MB " [Timeout remaining time 179] 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.6399/0.6399, allocations: 119.1 MB / 363.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09262/0.7326, allocations: 37.86 MB / 400.9 MB, free: 15.29 MB / 394.7 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.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 402.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.273e-05, allocations: 2.312 kB / 402.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005654/0.005677, allocations: 4.275 MB / 406.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.008477, allocations: 1.637 MB / 408.1 MB, free: 8.043 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.008731, allocations: 39.62 kB / 408.2 MB, free: 8.004 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.009251, allocations: 218.5 kB / 408.4 MB, free: 7.789 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006923/0.009944, allocations: 469.1 kB / 408.9 MB, free: 7.328 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.01058, allocations: 383.2 kB / 409.2 MB, free: 6.953 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.01202, allocations: 1.213 MB / 410.4 MB, free: 5.734 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.01269, allocations: 0.5237 MB / 411 MB, free: 5.199 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.01346, allocations: 0.6779 MB / 411.6 MB, free: 4.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.0141, allocations: 482.7 kB / 412.1 MB, free: 4.047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.01418, allocations: 60 kB / 412.2 MB, free: 3.988 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.01444, allocations: 135.7 kB / 412.3 MB, free: 3.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.0147, allocations: 283.2 kB / 412.6 MB, free: 3.578 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.01497, allocations: 227.5 kB / 412.8 MB, free: 3.355 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.01568, allocations: 0.6305 MB / 413.4 MB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.0157, allocations: 0 / 413.4 MB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.0157, allocations: 0 / 413.4 MB, free: 2.723 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.01572, allocations: 4 kB / 413.4 MB, free: 2.719 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001316/0.01703, allocations: 1.095 MB / 414.5 MB, free: 1.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.01707, allocations: 11.89 kB / 414.5 MB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.01816, allocations: 341.4 kB / 414.9 MB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.01893, allocations: 0.5107 MB / 415.4 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.01897, allocations: 45.67 kB / 415.4 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.01907, allocations: 72.3 kB / 415.5 MB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008533/0.01992, allocations: 0.7699 MB / 416.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.01995, allocations: 16.06 kB / 416.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.11e-05/0.02001, allocations: 36.36 kB / 416.3 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/0.0201, allocations: 69.2 kB / 416.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.02084, allocations: 252.6 kB / 416.6 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.02377, allocations: 3.876 MB / 420.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.02415, allocations: 260.7 kB / 420.8 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.02456, allocations: 217.4 kB / 421 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.02458, allocations: 4 kB / 421 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.02461, allocations: 42.34 kB / 421 MB, free: 10.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 1.704e-06/0.02461, allocations: 0 / 421 MB, free: 10.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.002079/0.02669, allocations: 0.871 MB / 421.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.02671, allocations: 59.41 kB / 422 MB, free: 9.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.02694, allocations: 419 kB / 422.4 MB, free: 9.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.02696, allocations: 33.7 kB / 422.4 MB, free: 9.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.02711, allocations: 360.8 kB / 422.8 MB, free: 8.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.02719, allocations: 162.6 kB / 422.9 MB, free: 8.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.02729, allocations: 106.2 kB / 423 MB, free: 8.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.02739, allocations: 366.6 kB / 423.4 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.02747, allocations: 65.28 kB / 423.4 MB, free: 8.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.02781, allocations: 277.1 kB / 423.7 MB, free: 7.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.02811, allocations: 428.8 kB / 424.1 MB, free: 7.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.02811, allocations: 0 / 424.1 MB, free: 7.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006067/0.02872, allocations: 0.5661 MB / 424.7 MB, free: 6.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.02873, allocations: 8 kB / 424.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.02874, allocations: 8 kB / 424.7 MB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/0.02921, allocations: 250.5 kB / 425 MB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.02936, allocations: 95.84 kB / 425 MB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.03215, allocations: 5.422 MB / 430.5 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.03228, allocations: 16 kB / 430.5 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.0323, allocations: 20 kB / 430.5 MB, free: 0.5781 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002544/0.03255, allocations: 164.4 kB / 430.7 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.0326, allocations: 47.95 kB / 430.7 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.03312, allocations: 473.2 kB / 431.2 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.03313, allocations: 4 kB / 431.2 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.03313, allocations: 4 kB / 431.2 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.03313, allocations: 0 / 431.2 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008537/0.03399, allocations: 0.8803 MB / 432.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.03399, allocations: 4.125 kB / 432.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.738e-05/0.03407, allocations: 39.94 kB / 432.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.03415, allocations: 75.81 kB / 432.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/0.03457, allocations: 242.5 kB / 432.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.03459, allocations: 12 kB / 432.4 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.03734, allocations: 5.402 MB / 437.8 MB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.03734, allocations: 4 kB / 437.8 MB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.03789, allocations: 0.6019 MB / 438.4 MB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.03793, allocations: 11.94 kB / 438.4 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.03803, allocations: 8 kB / 438.5 MB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.0381, allocations: 48.05 kB / 438.5 MB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.03811, allocations: 8 kB / 438.5 MB, free: 8.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.03822, allocations: 176.4 kB / 438.7 MB, free: 7.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.03822, allocations: 0 / 438.7 MB, free: 7.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.03865, allocations: 196 kB / 438.9 MB, free: 7.652 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.03877, allocations: 96.28 kB / 439 MB, free: 7.547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.0395, allocations: 0.8519 MB / 439.8 MB, free: 6.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/0.03952, allocations: 16.5 kB / 439.8 MB, free: 6.625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.03998, allocations: 0.7022 MB / 440.5 MB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.04047, allocations: 247.7 kB / 440.8 MB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.04366, allocations: 1.213 MB / 442 MB, free: 4.379 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.0438, allocations: 210.1 kB / 442.2 MB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.04391, allocations: 65 kB / 442.3 MB, free: 4.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.04417, allocations: 169.2 kB / 442.4 MB, free: 3.926 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.04417, allocations: 0 / 442.4 MB, free: 3.926 MB / 426.7 MB Notification: Performance of Templates: time 0.01213/0.0563, allocations: 11.34 MB / 453.8 MB, free: 8.781 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5735495686531067]