Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001555/0.001555, 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.001841/0.001841, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.002572/0.002572, allocations: 291.1 kB / 313.5 MB, free: 2.836 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.211/1.211, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [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.002908/0.002908, allocations: 109 kB / 0.7408 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1804, allocations: 95.39 MB / 0.834 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04521/0.2256, allocations: 36.66 MB / 0.8698 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.2466, allocations: 11.97 MB / 0.8815 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.2502, allocations: 210.4 kB / 0.8817 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.2621, allocations: 4.449 MB / 0.886 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.2682, allocations: 2.088 MB / 0.8881 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006787/0.275, allocations: 2.473 MB / 0.8905 GB, free: 14.11 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.01128/0.2863, allocations: 8.461 MB / 0.8987 GB, free: 5.621 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.2978, allocations: 6.235 MB / 0.9048 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006557/0.3043, allocations: 3.845 MB / 0.9086 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007579/0.3119, allocations: 4.424 MB / 0.9129 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.3143, allocations: 0.7773 MB / 0.9137 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005271/0.3196, allocations: 2.071 MB / 0.9157 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004838/0.3244, allocations: 3.133 MB / 0.9187 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006743/0.3311, allocations: 3.4 MB / 0.9221 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.3478, allocations: 12.02 MB / 0.9338 GB, free: 1.504 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.3478, allocations: 0 / 0.9338 GB, free: 1.504 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3478, allocations: 0 / 0.9338 GB, free: 1.504 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003498/0.3481, allocations: 0 / 0.9338 GB, free: 1.504 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01664/0.3648, allocations: 5.86 MB / 0.9395 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3648, allocations: 12.75 kB / 0.9395 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006839/0.3717, allocations: 1.09 MB / 0.9406 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.3819, allocations: 3.419 MB / 0.9439 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005668/0.3824, allocations: 415.5 kB / 0.9443 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0027/0.3851, allocations: 0.5471 MB / 0.9449 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.4104, allocations: 9.071 MB / 0.9537 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/0.4107, allocations: 27.83 kB / 0.9538 GB, free: 12.61 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001694/0.4124, allocations: 236 kB / 0.954 GB, free: 12.38 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004664/0.4129, allocations: 354.8 kB / 0.9543 GB, free: 12.04 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.4279, allocations: 6.822 MB / 0.961 GB, free: 5.203 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4747/0.9026, allocations: 39.5 MB / 0.9996 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.9061, allocations: 2.304 MB / 1.002 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.9084, allocations: 1.772 MB / 1.004 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.9085, allocations: 20.53 kB / 1.004 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.9085, allocations: 51.91 kB / 1.004 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 4.107e-06/0.9085, allocations: 1.812 kB / 1.004 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02457/0.9331, allocations: 9.696 MB / 1.013 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.9331, allocations: 74.09 kB / 1.013 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.9352, allocations: 1.522 MB / 1.015 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.9353, allocations: 54.98 kB / 1.015 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.9365, allocations: 2.328 MB / 1.017 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/0.937, allocations: 0.6629 MB / 1.018 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005583/0.9375, allocations: 412 kB / 1.018 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.9376, allocations: 302.4 kB / 1.018 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.939, allocations: 1.178 MB / 1.019 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.9406, allocations: 1.884 MB / 1.021 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.9437, allocations: 3.369 MB / 1.025 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.9438, allocations: 7.781 kB / 1.025 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0063/0.9501, allocations: 4.544 MB / 1.029 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.9501, allocations: 11.78 kB / 1.029 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.9501, allocations: 27.48 kB / 1.029 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003325/0.9534, allocations: 1.58 MB / 1.031 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.9545, allocations: 354.8 kB / 1.031 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.9719, allocations: 18.21 MB / 1.049 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.9738, allocations: 119.9 kB / 1.049 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.974, allocations: 96 kB / 1.049 GB, free: 106.3 MB / 0.7325 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002818/0.9768, allocations: 1.891 MB / 1.051 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005407/0.9773, allocations: 242.5 kB / 1.051 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00565/0.983, allocations: 4.039 MB / 1.055 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.983, allocations: 16 kB / 1.055 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.983, allocations: 20 kB / 1.055 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.983, allocations: 11.36 kB / 1.055 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.9963, allocations: 9.406 MB / 1.064 GB, free: 90.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.9963, allocations: 4 kB / 1.064 GB, free: 90.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.997, allocations: 179.7 kB / 1.064 GB, free: 90.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/0.9999, allocations: 1.357 MB / 1.066 GB, free: 88.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/1, allocations: 36 kB / 1.066 GB, free: 88.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/1.016, allocations: 16.95 MB / 1.082 GB, free: 71.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.016, allocations: 8 kB / 1.082 GB, free: 71.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/1.021, allocations: 4.04 MB / 1.086 GB, free: 67.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.022, allocations: 474.4 kB / 1.087 GB, free: 66.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/1.023, allocations: 32 kB / 1.087 GB, free: 66.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/1.023, allocations: 95.77 kB / 1.087 GB, free: 66.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/1.024, allocations: 177.5 kB / 1.087 GB, free: 66.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.943e-05/1.024, allocations: 44 kB / 1.087 GB, free: 66.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001073/1.025, allocations: 1.005 MB / 1.088 GB, free: 65.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/1.025, allocations: 0 / 1.088 GB, free: 65.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00283/1.028, allocations: 0.9883 MB / 1.089 GB, free: 64.49 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/1.028, allocations: 148.6 kB / 1.089 GB, free: 64.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005206/1.033, allocations: 4.175 MB / 1.093 GB, free: 60.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.033, allocations: 0 / 1.093 GB, free: 60.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.036, allocations: 2.572 MB / 1.096 GB, free: 57.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/1.039, allocations: 0.7973 MB / 1.096 GB, free: 56.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.052, allocations: 9.647 MB / 1.106 GB, free: 47.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0031/1.055, allocations: 3.67 MB / 1.109 GB, free: 43.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/1.056, allocations: 123.4 kB / 1.11 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.714e-06/1.056, allocations: 0 / 1.11 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.1714/1.227, allocations: 159.9 MB / 1.266 GB, free: 11.32 MB / 0.8575 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.54199267597869] Failed to read output from testmodel.py, exit status != 0: 1.2357988560106605 1.251745337 0.900599533 Calling exit ...