Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001359/0.001359, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001566/0.001566, allocations: 221.6 kB / 23 MB, free: 4.914 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002577/0.002577, allocations: 282.3 kB / 313.5 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003034/0.003034, allocations: 107.1 kB / 0.7407 GB, free: 27.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1631, allocations: 95.38 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007801/0.1709, allocations: 5.367 MB / 0.8391 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.1758, allocations: 2.619 MB / 0.8417 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.1763, allocations: 35.69 kB / 0.8417 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.1784, allocations: 0.6834 MB / 0.8424 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.1796, allocations: 429.8 kB / 0.8428 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1807, allocations: 407 kB / 0.8432 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.182, allocations: 0.9594 MB / 0.8441 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006631/0.1827, allocations: 374.5 kB / 0.8445 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007196/0.1834, allocations: 398.5 kB / 0.8448 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.1841, allocations: 402.4 kB / 0.8452 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1843, allocations: 48 kB / 0.8453 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007214/0.185, allocations: 323.3 kB / 0.8456 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.1853, allocations: 255.2 kB / 0.8458 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.1857, allocations: 290.7 kB / 0.8461 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1871, allocations: 0.9806 MB / 0.847 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1871, allocations: 7.984 kB / 0.8471 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1871, allocations: 0 / 0.8471 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.647e-05/0.1871, allocations: 3.938 kB / 0.8471 GB, free: 10.23 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001861/0.189, allocations: 0.9208 MB / 0.848 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.189, allocations: 8.75 kB / 0.848 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.1905, allocations: 204.2 kB / 0.8482 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.1914, allocations: 468.9 kB / 0.8486 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.1915, allocations: 45.36 kB / 0.8487 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.1916, allocations: 56.55 kB / 0.8487 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.193, allocations: 0.9824 MB / 0.8497 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.193, allocations: 0 / 0.8497 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.1931, allocations: 23.98 kB / 0.8497 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.1933, allocations: 68.89 kB / 0.8498 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.1943, allocations: 0.5735 MB / 0.8503 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.1987, allocations: 3.488 MB / 0.8537 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.1992, allocations: 267.3 kB / 0.854 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.1995, allocations: 217.2 kB / 0.8542 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1996, allocations: 288 / 0.8542 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.1996, allocations: 46.83 kB / 0.8542 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.1996, allocations: 0 / 0.8542 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005763/0.2054, allocations: 2.335 MB / 0.8565 GB, free: 176 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.2054, allocations: 55.41 kB / 0.8566 GB, free: 108 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.206, allocations: 441.8 kB / 0.857 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.206, allocations: 37.64 kB / 0.857 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.2063, allocations: 356.3 kB / 0.8574 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.2064, allocations: 150.7 kB / 0.8575 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.2066, allocations: 102.3 kB / 0.8576 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2068, allocations: 366.7 kB / 0.8579 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2072, allocations: 241.2 kB / 0.8582 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.2077, allocations: 403.4 kB / 0.8586 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009587/0.2087, allocations: 0.6789 MB / 0.8592 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2087, allocations: 0 / 0.8592 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001783/0.2105, allocations: 0.9138 MB / 0.8601 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2105, allocations: 8 kB / 0.8601 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.2105, allocations: 4 kB / 0.8601 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008059/0.2113, allocations: 230.7 kB / 0.8604 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.2118, allocations: 111.8 kB / 0.8605 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.2175, allocations: 4.951 MB / 0.8653 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.218, allocations: 27.97 kB / 0.8653 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.218, allocations: 24 kB / 0.8653 GB, free: 6.594 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003515/0.2184, allocations: 227.9 kB / 0.8656 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2185, allocations: 51.67 kB / 0.8656 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.22, allocations: 0.7579 MB / 0.8663 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2201, allocations: 4 kB / 0.8664 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2201, allocations: 7.938 kB / 0.8664 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2201, allocations: 7.922 kB / 0.8664 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.2227, allocations: 1.323 MB / 0.8677 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2227, allocations: 4 kB / 0.8677 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.223, allocations: 63.95 kB / 0.8677 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006953/0.2237, allocations: 214.7 kB / 0.8679 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.2238, allocations: 12 kB / 0.8679 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.2292, allocations: 4.867 MB / 0.8727 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2293, allocations: 7.938 kB / 0.8727 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.2313, allocations: 1.135 MB / 0.8738 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.2316, allocations: 91.61 kB / 0.8739 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.2317, allocations: 8 kB / 0.8739 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.2321, allocations: 27.97 kB / 0.8739 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2322, allocations: 31.94 kB / 0.874 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.2322, allocations: 16 kB / 0.874 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003696/0.2326, allocations: 294.8 kB / 0.8743 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2326, allocations: 0 / 0.8743 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007115/0.2333, allocations: 168 kB / 0.8744 GB, free: 12.84 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,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.00017/0.2334, allocations: 121.6 kB / 0.8745 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.2352, allocations: 0.9653 MB / 0.8755 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.2352, allocations: 128 / 0.8755 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.2362, allocations: 0.6679 MB / 0.8761 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.2371, allocations: 179.1 kB / 0.8763 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.2394, allocations: 1.34 MB / 0.8776 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.2398, allocations: 358.1 kB / 0.878 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2399, allocations: 35.44 kB / 0.878 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.2399, allocations: 0 / 0.878 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of Templates: time 0.02058/0.2605, allocations: 15.05 MB / 0.8927 GB, free: 10.04 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.291739319916815] Failed to read output from testmodel.py, exit status != 0: 0.26867629680782557 0.28483481299999996 0.09444765099999994 Calling exit ...