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.0007571/0.0007571, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007528/0.0007528, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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.845/0.845, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001506/0.001506, allocations: 228.3 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6452/0.6452, allocations: 138.4 MB / 455.1 MB, free: 29.98 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 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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.126e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.2116/0.2116, allocations: 5.29 MB / 0.6527 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002435/0.214, allocations: 2.595 MB / 0.6552 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.2142, allocations: 33.56 kB / 0.6553 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009476/0.2152, allocations: 0.6808 MB / 0.6559 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.2157, allocations: 438.4 kB / 0.6563 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.2162, allocations: 422.6 kB / 0.6567 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006342/0.2169, allocations: 0.9855 MB / 0.6577 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.2173, allocations: 378.6 kB / 0.6581 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.2177, allocations: 0.516 MB / 0.6586 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.2181, allocations: 374.8 kB / 0.6589 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.2181, allocations: 48.69 kB / 0.659 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.2185, allocations: 334.2 kB / 0.6593 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.2186, allocations: 266.9 kB / 0.6595 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.2188, allocations: 243.2 kB / 0.6598 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007728/0.2196, allocations: 0.9911 MB / 0.6607 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2196, allocations: 1.359 kB / 0.6607 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2196, allocations: 0.5 kB / 0.6607 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.2196, allocations: 1.625 kB / 0.6607 GB, free: 50.72 MB / 0.5573 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.0009606/0.2206, allocations: 0.9217 MB / 0.6616 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2206, allocations: 8.812 kB / 0.6617 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/0.2213, allocations: 204.5 kB / 0.6619 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.2218, allocations: 469.2 kB / 0.6623 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2219, allocations: 39.19 kB / 0.6623 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.222, allocations: 54.86 kB / 0.6624 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.2227, allocations: 0.9791 MB / 0.6633 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2227, allocations: 6.281 kB / 0.6634 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.2228, allocations: 23.41 kB / 0.6634 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.2229, allocations: 70.02 kB / 0.6634 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.2234, allocations: 0.5669 MB / 0.664 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.2254, allocations: 3.477 MB / 0.6674 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.2257, allocations: 280.3 kB / 0.6677 GB, free: 46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.2259, allocations: 207.9 kB / 0.6679 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2259, allocations: 13.88 kB / 0.6679 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.226, allocations: 44 kB / 0.6679 GB, free: 45.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.226, allocations: 0 / 0.6679 GB, free: 45.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.002913/0.2289, allocations: 2.331 MB / 0.6702 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2289, allocations: 57 kB / 0.6702 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.2292, allocations: 436.2 kB / 0.6707 GB, free: 44.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2292, allocations: 31.42 kB / 0.6707 GB, free: 44.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2293, allocations: 352.8 kB / 0.671 GB, free: 44.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.2293, allocations: 155.2 kB / 0.6712 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2294, allocations: 98.19 kB / 0.6713 GB, free: 44.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.2295, allocations: 368.5 kB / 0.6716 GB, free: 43.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.2297, allocations: 234.1 kB / 0.6718 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.23, allocations: 416.6 kB / 0.6722 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.2305, allocations: 0.6823 MB / 0.6729 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2305, allocations: 5.688 kB / 0.6729 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000898/0.2314, allocations: 0.9036 MB / 0.6738 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2314, allocations: 7.438 kB / 0.6738 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2314, allocations: 3.719 kB / 0.6738 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.2318, allocations: 229 kB / 0.674 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.2321, allocations: 116.5 kB / 0.6741 GB, free: 42.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.2344, allocations: 4.929 MB / 0.6789 GB, free: 38.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.2346, allocations: 34.23 kB / 0.679 GB, free: 38.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.2346, allocations: 26.8 kB / 0.679 GB, free: 38.3 MB / 0.5573 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.0001597/0.2348, allocations: 223.1 kB / 0.6792 GB, free: 38.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.2348, allocations: 54 kB / 0.6793 GB, free: 38.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008241/0.2356, allocations: 0.7644 MB / 0.68 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2356, allocations: 3.188 kB / 0.68 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2356, allocations: 3.25 kB / 0.68 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2357, allocations: 5.016 kB / 0.68 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.237, allocations: 1.332 MB / 0.6813 GB, free: 37.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.237, allocations: 3.281 kB / 0.6813 GB, free: 37.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.2372, allocations: 70.31 kB / 0.6814 GB, free: 37.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.2375, allocations: 203.9 kB / 0.6816 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2376, allocations: 10.84 kB / 0.6816 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.24, allocations: 4.864 MB / 0.6864 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.24, allocations: 6.281 kB / 0.6864 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.241, allocations: 1.123 MB / 0.6875 GB, free: 32.31 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.2412, allocations: 88.92 kB / 0.6875 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.2412, allocations: 13.73 kB / 0.6876 GB, free: 32.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2414, allocations: 28.28 kB / 0.6876 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.2414, allocations: 33.8 kB / 0.6876 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.2415, allocations: 13.84 kB / 0.6876 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001952/0.2417, allocations: 297.4 kB / 0.6879 GB, free: 32.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2417, allocations: 0 / 0.6879 GB, free: 32.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004455/0.2421, allocations: 166.3 kB / 0.6881 GB, free: 32.08 MB / 0.5573 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.0001116/0.2422, allocations: 116.3 kB / 0.6882 GB, free: 31.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009316/0.2431, allocations: 0.9699 MB / 0.6891 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2432, allocations: 1.156 kB / 0.6891 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.2436, allocations: 0.6651 MB / 0.6898 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.2442, allocations: 175.1 kB / 0.6899 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2455, allocations: 1.281 MB / 0.6912 GB, free: 30.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.2457, allocations: 355.3 kB / 0.6915 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.2458, allocations: 39.97 kB / 0.6916 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.2458, allocations: 0 / 0.6916 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of Templates: time 0.01165/0.2575, allocations: 15.07 MB / 0.7063 GB, free: 24.58 MB / 0.5573 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.228033130057156] Failed to read output from testmodel.py, exit status != 0: 0.2625375436618924 0.26883740700000003 0.04797386 Calling exit ...