Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001385/0.001385, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001505/0.001505, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.781 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.002671/0.002671, allocations: 295.2 kB / 312.7 MB, free: 2.586 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.247/1.247, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [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.003023/0.003023, allocations: 98.55 kB / 0.74 GB, free: 27.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1659, allocations: 95.38 MB / 0.8332 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04652/0.2124, allocations: 35.72 MB / 0.868 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.236, allocations: 13.21 MB / 0.8809 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.2392, allocations: 226.2 kB / 0.8812 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.2493, allocations: 3.911 MB / 0.885 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.2559, allocations: 2.612 MB / 0.8875 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.2626, allocations: 2.734 MB / 0.8902 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0127/0.2753, allocations: 9.584 MB / 0.8996 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009961/0.2853, allocations: 5.503 MB / 0.9049 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007011/0.2923, allocations: 4.156 MB / 0.909 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008243/0.3005, allocations: 4.392 MB / 0.9133 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0022/0.3027, allocations: 0.7734 MB / 0.914 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.3071, allocations: 1.654 MB / 0.9156 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003635/0.3108, allocations: 3.106 MB / 0.9187 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004111/0.3149, allocations: 2.918 MB / 0.9215 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.3304, allocations: 11.96 MB / 0.9332 GB, free: 0.918 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3304, allocations: 0 / 0.9332 GB, free: 0.918 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3304, allocations: 0 / 0.9332 GB, free: 0.918 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000462/0.3309, allocations: 0 / 0.9332 GB, free: 0.918 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01807/0.349, allocations: 6.439 MB / 0.9395 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.349, allocations: 12.75 kB / 0.9395 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008766/0.3578, allocations: 1.324 MB / 0.9408 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009897/0.3677, allocations: 3.733 MB / 0.9444 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/0.3681, allocations: 382.5 kB / 0.9448 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.3699, allocations: 0.5002 MB / 0.9453 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.3899, allocations: 9.647 MB / 0.9547 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/0.3901, allocations: 23.83 kB / 0.9547 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.3913, allocations: 223.9 kB / 0.955 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002471/0.3938, allocations: 0.6304 MB / 0.9556 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.4084, allocations: 7.002 MB / 0.9624 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4539/0.8623, allocations: 26.73 MB / 0.9885 GB, free: 115.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.8663, allocations: 2.644 MB / 0.9911 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.8694, allocations: 2.422 MB / 0.9935 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.8695, allocations: 28.12 kB / 0.9935 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.8696, allocations: 63.56 kB / 0.9936 GB, free: 115.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 5.24e-06/0.8696, allocations: 0 / 0.9936 GB, free: 115.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.3266/1.196, allocations: 72.91 MB / 1.065 GB, free: 62.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.196, allocations: 95.39 kB / 1.065 GB, free: 62.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/1.199, allocations: 2.193 MB / 1.067 GB, free: 60.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006321/1.199, allocations: 97.7 kB / 1.067 GB, free: 60.15 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/1.2, allocations: 2.411 MB / 1.069 GB, free: 58.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.202, allocations: 1.502 MB / 1.071 GB, free: 56.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/1.203, allocations: 0.7256 MB / 1.072 GB, free: 55.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.415e-05/1.203, allocations: 309.1 kB / 1.072 GB, free: 55.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003625/1.207, allocations: 2.997 MB / 1.075 GB, free: 52.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004038/1.211, allocations: 3.851 MB / 1.079 GB, free: 48.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008151/1.219, allocations: 7.376 MB / 1.086 GB, free: 40.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/1.219, allocations: 12 kB / 1.086 GB, free: 40.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02499/1.244, allocations: 12.37 MB / 1.098 GB, free: 28.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/1.244, allocations: 13.88 kB / 1.098 GB, free: 28.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.244, allocations: 24 kB / 1.098 GB, free: 28.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02116/1.265, allocations: 6.019 MB / 1.104 GB, free: 22.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.267, allocations: 495.2 kB / 1.104 GB, free: 21.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08812/1.356, allocations: 69.13 MB / 1.172 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/1.36, allocations: 221.4 kB / 1.172 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008913/1.361, allocations: 152 kB / 1.172 GB, free: 13.77 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004255/1.365, allocations: 1.993 MB / 1.174 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.366, allocations: 389.7 kB / 1.174 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03117/1.397, allocations: 12.04 MB / 1.186 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/1.397, allocations: 40 kB / 1.186 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001525/1.397, allocations: 55.94 kB / 1.186 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.929e-05/1.398, allocations: 20.06 kB / 1.186 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04329/1.441, allocations: 17.09 MB / 1.203 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/1.441, allocations: 11.98 kB / 1.203 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.443, allocations: 291.5 kB / 1.203 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02272/1.465, allocations: 5.56 MB / 1.209 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007617/1.466, allocations: 83.98 kB / 1.209 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1231/1.589, allocations: 66.74 MB / 1.274 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/1.589, allocations: 11.94 kB / 1.274 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03365/1.623, allocations: 15.43 MB / 1.289 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00303/1.626, allocations: 0.966 MB / 1.29 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006587/1.626, allocations: 87.98 kB / 1.29 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.629, allocations: 215.9 kB / 1.29 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/1.63, allocations: 426 kB / 1.291 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/1.631, allocations: 115.9 kB / 1.291 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00211/1.633, allocations: 1.418 MB / 1.292 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/1.633, allocations: 0 / 1.292 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005776/1.639, allocations: 1.859 MB / 1.294 GB, free: 13.95 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005215/1.639, allocations: 210.9 kB / 1.294 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02216/1.661, allocations: 11.59 MB / 1.306 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.661, allocations: 8.312 kB / 1.306 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01633/1.678, allocations: 8.116 MB / 1.313 GB, free: 9.402 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006188/1.684, allocations: 1.125 MB / 1.315 GB, free: 8.324 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4272/2.111, allocations: 12.5 MB / 1.327 GB, free: 295.1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/2.116, allocations: 3.568 MB / 1.33 GB, free: 294.8 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002327/2.119, allocations: 0.649 MB / 1.331 GB, free: 294.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/2.119, allocations: 171 kB / 1.331 GB, free: 294.7 MB / 0.92 GB Notification: Performance of SimCode: time 1.192e-06/2.119, allocations: 3.5 kB / 1.331 GB, free: 294.7 MB / 0.92 GB Notification: Performance of Templates: time 0.144/2.263, allocations: 120.8 MB / 1.449 GB, free: 209.7 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.243650434538722] Failed to read output from testmodel.py, exit status != 0: 2.270297998562455 2.280053115 1.94720424 Calling exit ...