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.001281/0.001281, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001484/0.001484, allocations: 162.2 kB / 22.46 MB, free: 5.375 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.002468/0.002468, allocations: 233.6 kB / 259.4 MB, free: 460 kB / 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.057/1.057, allocations: 138.4 MB / 454.3 MB, free: 1.992 MB / 366.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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.974e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.268/0.268, allocations: 5.278 MB / 0.6519 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003985/0.272, allocations: 2.599 MB / 0.6545 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2723, allocations: 34.12 kB / 0.6545 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.2739, allocations: 0.6819 MB / 0.6552 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.2747, allocations: 440.9 kB / 0.6556 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.2755, allocations: 417.2 kB / 0.656 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000727/0.2762, allocations: 0.9887 MB / 0.657 GB, free: 52.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.2766, allocations: 381.3 kB / 0.6573 GB, free: 52.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.2771, allocations: 0.5262 MB / 0.6578 GB, free: 52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.2776, allocations: 367.2 kB / 0.6582 GB, free: 51.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.2776, allocations: 48.12 kB / 0.6582 GB, free: 51.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.2781, allocations: 329.5 kB / 0.6586 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.2783, allocations: 265.8 kB / 0.6588 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.2785, allocations: 240.5 kB / 0.659 GB, free: 51.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008015/0.2793, allocations: 0.9959 MB / 0.66 GB, free: 51.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2793, allocations: 0 / 0.66 GB, free: 51.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2793, allocations: 0 / 0.66 GB, free: 51.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.2793, allocations: 3.906 kB / 0.66 GB, free: 51.26 MB / 0.5606 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.001285/0.2806, allocations: 0.9196 MB / 0.6609 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2806, allocations: 10.16 kB / 0.6609 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.282, allocations: 199.2 kB / 0.6611 GB, free: 50.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.2826, allocations: 473.5 kB / 0.6616 GB, free: 50.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.2827, allocations: 33.09 kB / 0.6616 GB, free: 50.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2828, allocations: 60.67 kB / 0.6617 GB, free: 50.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.2837, allocations: 0.9733 MB / 0.6626 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.2838, allocations: 7.25 kB / 0.6626 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.2838, allocations: 26.09 kB / 0.6626 GB, free: 49.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.284, allocations: 64.58 kB / 0.6627 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.2847, allocations: 0.5742 MB / 0.6633 GB, free: 49.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.2876, allocations: 3.491 MB / 0.6667 GB, free: 46.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.288, allocations: 271 kB / 0.6669 GB, free: 46.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.2882, allocations: 212.4 kB / 0.6671 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2882, allocations: 9.406 kB / 0.6671 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.2882, allocations: 33.44 kB / 0.6672 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.2882, allocations: 0 / 0.6672 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.004889/0.2931, allocations: 2.338 MB / 0.6695 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.2932, allocations: 56.94 kB / 0.6695 GB, free: 45.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.2935, allocations: 435.8 kB / 0.6699 GB, free: 45.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2935, allocations: 29.7 kB / 0.6699 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.2937, allocations: 355.8 kB / 0.6703 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.2937, allocations: 150.8 kB / 0.6704 GB, free: 44.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.2939, allocations: 103.8 kB / 0.6705 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.294, allocations: 360.7 kB / 0.6709 GB, free: 44.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.2943, allocations: 239.2 kB / 0.6711 GB, free: 44.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.2947, allocations: 410.4 kB / 0.6715 GB, free: 43.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.2954, allocations: 0.6752 MB / 0.6722 GB, free: 43.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2954, allocations: 2.656 kB / 0.6722 GB, free: 43.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001546/0.297, allocations: 0.9111 MB / 0.673 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.297, allocations: 8.344 kB / 0.6731 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.297, allocations: 4.969 kB / 0.6731 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007724/0.2977, allocations: 232 kB / 0.6733 GB, free: 43.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.2982, allocations: 117.8 kB / 0.6734 GB, free: 43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.3023, allocations: 4.931 MB / 0.6782 GB, free: 38.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.3029, allocations: 28.88 kB / 0.6782 GB, free: 38.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.3029, allocations: 31.22 kB / 0.6783 GB, free: 38.83 MB / 0.5606 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.0004086/0.3033, allocations: 226.2 kB / 0.6785 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3035, allocations: 55.67 kB / 0.6785 GB, free: 38.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.3051, allocations: 0.7572 MB / 0.6793 GB, free: 38.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3051, allocations: 3 kB / 0.6793 GB, free: 38.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3051, allocations: 2.875 kB / 0.6793 GB, free: 38.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3051, allocations: 3.328 kB / 0.6793 GB, free: 38.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.3076, allocations: 1.334 MB / 0.6806 GB, free: 37.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3077, allocations: 6.75 kB / 0.6806 GB, free: 37.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.308, allocations: 67.67 kB / 0.6807 GB, free: 37.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/0.3088, allocations: 198.2 kB / 0.6808 GB, free: 37.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3088, allocations: 17.16 kB / 0.6809 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.3127, allocations: 4.869 MB / 0.6856 GB, free: 33.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3127, allocations: 3.172 kB / 0.6856 GB, free: 33.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3144, allocations: 1.115 MB / 0.6867 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.3146, allocations: 88.09 kB / 0.6868 GB, free: 32.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.3147, allocations: 22.39 kB / 0.6868 GB, free: 32.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.315, allocations: 24.53 kB / 0.6868 GB, free: 32.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3151, allocations: 42.03 kB / 0.6869 GB, free: 32.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.3151, allocations: 14.58 kB / 0.6869 GB, free: 32.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003062/0.3154, allocations: 290.7 kB / 0.6872 GB, free: 32.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3154, allocations: 0 / 0.6872 GB, free: 32.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007335/0.3162, allocations: 173.2 kB / 0.6873 GB, free: 32.6 MB / 0.5606 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.0001542/0.3163, allocations: 116.8 kB / 0.6874 GB, free: 32.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.3178, allocations: 0.958 MB / 0.6884 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3178, allocations: 0.9688 kB / 0.6884 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.3187, allocations: 0.6758 MB / 0.689 GB, free: 31.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.3196, allocations: 178.3 kB / 0.6892 GB, free: 31.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3216, allocations: 1.22 MB / 0.6904 GB, free: 30.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.322, allocations: 346.2 kB / 0.6907 GB, free: 30.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003142/0.3223, allocations: 117.1 kB / 0.6908 GB, free: 30.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3224, allocations: 36.75 kB / 0.6909 GB, free: 30.61 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.3224, allocations: 0 / 0.6909 GB, free: 30.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.01795/0.3403, allocations: 9.062 MB / 0.6997 GB, free: 29.66 MB / 0.5606 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.030951987951994] Failed to read output from testmodel.py, exit status != 0: 0.34814098477363586 0.35966413099999994 0.07779446400000001 Calling exit ...