Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001358/0.001358, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001589/0.001589, allocations: 218.8 kB / 23.01 MB, free: 4.605 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002516/0.002516, allocations: 302.5 kB / 313.5 MB, free: 2.922 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.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.002895/0.002895, allocations: 96.34 kB / 0.7408 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1567, allocations: 95.38 MB / 0.834 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008005/0.1647, allocations: 5.679 MB / 0.8395 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004929/0.1696, allocations: 2.755 MB / 0.8422 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.1701, allocations: 31.69 kB / 0.8422 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.1721, allocations: 0.7157 MB / 0.8429 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1732, allocations: 425.8 kB / 0.8433 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1743, allocations: 393.3 kB / 0.8437 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.1756, allocations: 0.9555 MB / 0.8446 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006543/0.1763, allocations: 382.5 kB / 0.845 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007022/0.177, allocations: 386.6 kB / 0.8454 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007465/0.1777, allocations: 430.3 kB / 0.8458 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1778, allocations: 48 kB / 0.8458 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.1786, allocations: 371.2 kB / 0.8462 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.1789, allocations: 251.3 kB / 0.8464 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.1794, allocations: 350.2 kB / 0.8468 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.1808, allocations: 0.9767 MB / 0.8477 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1808, allocations: 4 kB / 0.8477 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1808, allocations: 0 / 0.8477 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.112e-05/0.1808, allocations: 0 / 0.8477 GB, free: 10.05 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.001874/0.1827, allocations: 0.9169 MB / 0.8486 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1827, allocations: 13.94 kB / 0.8486 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1841, allocations: 192.3 kB / 0.8488 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.1851, allocations: 455.7 kB / 0.8492 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.1851, allocations: 41.38 kB / 0.8493 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.1853, allocations: 60.48 kB / 0.8493 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1865, allocations: 0.8318 MB / 0.8502 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.1866, allocations: 11.94 kB / 0.8502 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.1866, allocations: 16 kB / 0.8502 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.1868, allocations: 64.95 kB / 0.8502 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009739/0.1878, allocations: 0.5658 MB / 0.8508 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00498/0.1928, allocations: 4.501 MB / 0.8552 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.1933, allocations: 279.2 kB / 0.8555 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.1936, allocations: 209.3 kB / 0.8557 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1936, allocations: 4.281 kB / 0.8557 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1937, allocations: 34.84 kB / 0.8557 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.1937, allocations: 0 / 0.8557 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005631/0.1993, allocations: 2.34 MB / 0.858 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1993, allocations: 55.41 kB / 0.858 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.1999, allocations: 461.9 kB / 0.8585 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.1999, allocations: 37.7 kB / 0.8585 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.2002, allocations: 344.5 kB / 0.8588 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.2003, allocations: 150.7 kB / 0.859 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.2005, allocations: 102.3 kB / 0.8591 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2007, allocations: 374.7 kB / 0.8594 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.201, allocations: 229.2 kB / 0.8597 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.2016, allocations: 411.3 kB / 0.86 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/0.2025, allocations: 0.679 MB / 0.8607 GB, free: 12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2025, allocations: 0 / 0.8607 GB, free: 12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001768/0.2043, allocations: 0.9175 MB / 0.8616 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2043, allocations: 8 kB / 0.8616 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2043, allocations: 4 kB / 0.8616 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/0.2051, allocations: 226.8 kB / 0.8618 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.2056, allocations: 119.8 kB / 0.8619 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.2113, allocations: 5.045 MB / 0.8669 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.2117, allocations: 27.97 kB / 0.8669 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.2118, allocations: 24 kB / 0.8669 GB, free: 5.262 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.0003069/0.2121, allocations: 233.7 kB / 0.8671 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2122, allocations: 59.61 kB / 0.8672 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.2138, allocations: 0.7657 MB / 0.868 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2138, allocations: 4 kB / 0.868 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2138, allocations: 0 / 0.868 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2138, allocations: 4 kB / 0.868 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.2165, allocations: 1.462 MB / 0.8694 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2165, allocations: 0 / 0.8694 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.2169, allocations: 67.89 kB / 0.8695 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/0.2176, allocations: 202.5 kB / 0.8696 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.2176, allocations: 16 kB / 0.8697 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005423/0.223, allocations: 4.964 MB / 0.8745 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.223, allocations: 4.031 kB / 0.8745 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.225, allocations: 1.135 MB / 0.8756 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.2252, allocations: 99.59 kB / 0.8757 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.2253, allocations: 15.94 kB / 0.8757 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.2257, allocations: 23.97 kB / 0.8758 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.2257, allocations: 35.88 kB / 0.8758 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.2258, allocations: 12 kB / 0.8758 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003777/0.2261, allocations: 314.9 kB / 0.8761 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2261, allocations: 4.062 kB / 0.8761 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006747/0.2268, allocations: 168 kB / 0.8763 GB, free: 11.19 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.0001704/0.227, allocations: 115.1 kB / 0.8764 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.2287, allocations: 0.9616 MB / 0.8773 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2287, allocations: 4 kB / 0.8773 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.2297, allocations: 0.6603 MB / 0.878 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.2306, allocations: 173.9 kB / 0.8781 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2329, allocations: 1.346 MB / 0.8794 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.2335, allocations: 0.9532 MB / 0.8804 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.2337, allocations: 39.44 kB / 0.8804 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2337, allocations: 0 / 0.8804 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of Templates: time 0.01987/0.2535, allocations: 14.87 MB / 0.8949 GB, free: 7.965 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.428045976208523] Failed to read output from testmodel.py, exit status != 0: 0.26091620000079274 0.28660808400000004 0.10091633300000001 Calling exit ...