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.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.001326/0.001326, allocations: 110 kB / 18.93 MB, free: 2.945 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.001555/0.001555, allocations: 189.2 kB / 22.23 MB, free: 5.16 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.413/1.413, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.002507/0.002507, allocations: 279.6 kB / 306.5 MB, free: 8.32 MB / 238.1 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 1.174/1.174, allocations: 180.9 MB / 0.53 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 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.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(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: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 100.1 kB / 0.7308 GB, free: 38.97 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1623, allocations: 94.2 MB / 0.8228 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007731/0.1701, allocations: 5.741 MB / 0.8284 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004457/0.1745, allocations: 2.74 MB / 0.8311 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.1748, allocations: 35.69 kB / 0.8312 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.1767, allocations: 0.7079 MB / 0.8318 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008777/0.1776, allocations: 421.8 kB / 0.8322 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.1786, allocations: 421.5 kB / 0.8327 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.1797, allocations: 0.9555 MB / 0.8336 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.1802, allocations: 338.9 kB / 0.8339 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.1807, allocations: 390.5 kB / 0.8343 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.1813, allocations: 430.3 kB / 0.8347 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.56e-05/0.1814, allocations: 48 kB / 0.8347 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.1821, allocations: 371.2 kB / 0.8351 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.1824, allocations: 251.2 kB / 0.8353 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.1828, allocations: 346.2 kB / 0.8357 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.184, allocations: 0.9845 MB / 0.8366 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.184, allocations: 4 kB / 0.8366 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.184, allocations: 0 / 0.8366 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.184, allocations: 3.938 kB / 0.8366 GB, free: 3.652 MB / 0.5762 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.001716/0.1857, allocations: 0.9208 MB / 0.8375 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1858, allocations: 16.61 kB / 0.8375 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.1872, allocations: 200.3 kB / 0.8377 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.188, allocations: 456.9 kB / 0.8382 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.188, allocations: 45.36 kB / 0.8382 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.1882, allocations: 60.44 kB / 0.8383 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1894, allocations: 0.8241 MB / 0.8391 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.1895, allocations: 15.92 kB / 0.8391 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/0.1895, allocations: 23.98 kB / 0.8391 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.1897, allocations: 64.95 kB / 0.8392 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/0.1907, allocations: 0.5697 MB / 0.8397 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.1954, allocations: 4.501 MB / 0.8441 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.1959, allocations: 275.2 kB / 0.8444 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.1963, allocations: 209.3 kB / 0.8446 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1963, allocations: 4.281 kB / 0.8446 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1963, allocations: 42.83 kB / 0.8446 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/0.1963, allocations: 3.984 kB / 0.8446 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005763/0.2021, allocations: 2.329 MB / 0.8469 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.2021, allocations: 55.41 kB / 0.847 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.2027, allocations: 466 kB / 0.8474 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.2027, allocations: 29.7 kB / 0.8474 GB, free: 8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.203, allocations: 356.5 kB / 0.8478 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.2032, allocations: 150.7 kB / 0.8479 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.2033, allocations: 110.2 kB / 0.848 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2035, allocations: 362.8 kB / 0.8484 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.2039, allocations: 241.2 kB / 0.8486 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.2044, allocations: 411.3 kB / 0.849 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/0.2054, allocations: 0.675 MB / 0.8497 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2054, allocations: 4 kB / 0.8497 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/0.2071, allocations: 0.91 MB / 0.8505 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2071, allocations: 11.98 kB / 0.8506 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2072, allocations: 4 kB / 0.8506 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.208, allocations: 226.6 kB / 0.8508 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.2085, allocations: 115.8 kB / 0.8509 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.2141, allocations: 5.031 MB / 0.8558 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.2145, allocations: 31.97 kB / 0.8558 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.2146, allocations: 20.19 kB / 0.8559 GB, free: 14.84 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.0003164/0.2149, allocations: 225.7 kB / 0.8561 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.215, allocations: 67.56 kB / 0.8561 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.2166, allocations: 0.7621 MB / 0.8569 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2166, allocations: 7.938 kB / 0.8569 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2166, allocations: 0 / 0.8569 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2166, allocations: 3.984 kB / 0.8569 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.2192, allocations: 1.465 MB / 0.8583 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2192, allocations: 4.219 kB / 0.8583 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.2197, allocations: 71.89 kB / 0.8584 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007198/0.2204, allocations: 206.4 kB / 0.8586 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.2204, allocations: 12 kB / 0.8586 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/0.2258, allocations: 4.975 MB / 0.8635 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.2258, allocations: 4.031 kB / 0.8635 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.2277, allocations: 1.124 MB / 0.8646 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.228, allocations: 99.67 kB / 0.8647 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.2281, allocations: 15.92 kB / 0.8647 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.2284, allocations: 27.97 kB / 0.8647 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.2285, allocations: 35.88 kB / 0.8647 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.2285, allocations: 12 kB / 0.8647 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000368/0.2289, allocations: 318.9 kB / 0.865 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2289, allocations: 0 / 0.865 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006648/0.2296, allocations: 168 kB / 0.8652 GB, free: 4.758 MB / 0.6075 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.0001624/0.2297, allocations: 119.9 kB / 0.8653 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.2315, allocations: 0.9768 MB / 0.8663 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2315, allocations: 0 / 0.8663 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.2326, allocations: 0.6564 MB / 0.8669 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.2335, allocations: 183.4 kB / 0.8671 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.2357, allocations: 1.285 MB / 0.8683 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.2363, allocations: 0.9532 MB / 0.8693 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.2367, allocations: 125 kB / 0.8694 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2368, allocations: 35.44 kB / 0.8694 GB, free: 284 kB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2368, allocations: 0 / 0.8694 GB, free: 284 kB / 0.6075 GB Notification: Performance of Templates: time 0.01842/0.2552, allocations: 9.403 MB / 0.8786 GB, free: 7.004 MB / 0.6231 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: 6.184817749075592] Failed to read output from testmodel.py, exit status != 0: 0.26340863946825266 0.278503691 0.09151049500000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7ee6fbd7b0>