Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0006799/0.0006799, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008588/0.001539, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006801/0.0006801, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008336/0.001514, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9031/0.9031, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08493/0.9881, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001234/0.001234, allocations: 241.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008929/0.002127, allocations: 482.7 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.675/0.675, allocations: 138.7 MB / 384.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06796/0.743, allocations: 42.4 MB / 426.5 MB, free: 5.93 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.789e-05, allocations: 2.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.1879/0.1879, allocations: 4.93 MB / 432.7 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.1907, allocations: 1.79 MB / 434.5 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.191, allocations: 39.38 kB / 434.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1916, allocations: 235.2 kB / 434.8 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007223/0.1923, allocations: 0.5051 MB / 435.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.1929, allocations: 398.3 kB / 435.7 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.194, allocations: 1.361 MB / 437 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006867/0.1947, allocations: 0.5398 MB / 437.6 MB, free: 384 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.1955, allocations: 0.7417 MB / 438.3 MB, free: 128 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.1961, allocations: 0.5178 MB / 438.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.359e-05/0.1962, allocations: 71.09 kB / 438.9 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.1965, allocations: 147.2 kB / 439 MB, free: 4 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.1968, allocations: 293.4 kB / 439.3 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.197, allocations: 259 kB / 439.6 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.1976, allocations: 0.6973 MB / 440.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.408e-05/0.1977, allocations: 0 / 440.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1977, allocations: 0.625 kB / 440.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.1977, allocations: 0 / 440.3 MB, free: 15.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001255/0.1989, allocations: 1.229 MB / 441.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.199, allocations: 9.938 kB / 441.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.1997, allocations: 344.4 kB / 441.9 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.2003, allocations: 0.515 MB / 442.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2003, allocations: 47.55 kB / 442.4 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.2004, allocations: 72.31 kB / 442.5 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.2011, allocations: 0.9557 MB / 443.4 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2011, allocations: 7.031 kB / 443.5 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.2011, allocations: 30.64 kB / 443.5 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.2012, allocations: 89.41 kB / 443.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.2015, allocations: 260.2 kB / 443.8 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.2039, allocations: 3.928 MB / 447.8 MB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.2043, allocations: 295.6 kB / 448 MB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2044, allocations: 94.33 kB / 448.1 MB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2044, allocations: 6.984 kB / 448.1 MB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2044, allocations: 39.06 kB / 448.2 MB, free: 10.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/0.2044, allocations: 1.688 kB / 448.2 MB, free: 10.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.001365/0.2058, allocations: 0.8067 MB / 449 MB, free: 10.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2058, allocations: 57.59 kB / 449 MB, free: 10.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.2061, allocations: 487.2 kB / 449.5 MB, free: 9.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.2061, allocations: 32.23 kB / 449.6 MB, free: 9.848 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.2063, allocations: 378.9 kB / 449.9 MB, free: 9.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.2063, allocations: 181.7 kB / 450.1 MB, free: 9.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2065, allocations: 122.9 kB / 450.2 MB, free: 9.332 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.2066, allocations: 375 kB / 450.6 MB, free: 8.984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.2067, allocations: 71.84 kB / 450.7 MB, free: 8.973 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.2068, allocations: 295 kB / 450.9 MB, free: 8.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.2072, allocations: 452.3 kB / 451.4 MB, free: 8.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2072, allocations: 3.344 kB / 451.4 MB, free: 8.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006402/0.2078, allocations: 0.5638 MB / 452 MB, free: 8.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2079, allocations: 8 kB / 452 MB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2079, allocations: 4.625 kB / 452 MB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.2085, allocations: 287.8 kB / 452.2 MB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.2087, allocations: 128.9 kB / 452.4 MB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.2117, allocations: 5.315 MB / 457.7 MB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2119, allocations: 26.12 kB / 457.7 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.2119, allocations: 20 kB / 457.7 MB, free: 1.883 MB / 426.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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.2121, allocations: 159.8 kB / 457.9 MB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.2121, allocations: 59.92 kB / 457.9 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.2126, allocations: 449.5 kB / 458.4 MB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2127, allocations: 4.719 kB / 458.4 MB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2127, allocations: 4 kB / 458.4 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2127, allocations: 4.828 kB / 458.4 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.2136, allocations: 0.8828 MB / 459.3 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2136, allocations: 0.625 kB / 459.3 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2137, allocations: 59.91 kB / 459.3 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.2138, allocations: 88.78 kB / 459.4 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00056/0.2144, allocations: 271.2 kB / 459.7 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.2144, allocations: 8.562 kB / 459.7 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/0.2171, allocations: 5.309 MB / 465 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2171, allocations: 5.25 kB / 465 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.2176, allocations: 0.5803 MB / 465.6 MB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.2177, allocations: 12 kB / 465.6 MB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2178, allocations: 8.969 kB / 465.6 MB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.2179, allocations: 61.23 kB / 465.7 MB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.2179, allocations: 12 kB / 465.7 MB, free: 9.426 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.2181, allocations: 201.3 kB / 465.9 MB, free: 9.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2181, allocations: 4 kB / 465.9 MB, free: 9.227 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004742/0.2185, allocations: 225 kB / 466.1 MB, free: 9.008 MB / 442.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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.2186, allocations: 94.61 kB / 466.2 MB, free: 8.906 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.2194, allocations: 0.8882 MB / 467.1 MB, free: 7.973 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.257e-05/0.2194, allocations: 12.5 kB / 467.1 MB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.2199, allocations: 0.7168 MB / 467.8 MB, free: 7.195 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.2204, allocations: 249.2 kB / 468.1 MB, free: 6.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/0.2257, allocations: 1.324 MB / 469.4 MB, free: 5.613 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.2258, allocations: 217 kB / 469.6 MB, free: 5.379 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.226, allocations: 71.81 kB / 469.7 MB, free: 5.324 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.2263, allocations: 213.1 kB / 469.9 MB, free: 5.117 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2263, allocations: 0 / 469.9 MB, free: 5.117 MB / 442.7 MB Notification: Performance of Templates: time 0.01477/0.2411, allocations: 12.53 MB / 482.4 MB, free: 9.137 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.474188598804176]