Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001283/0.001283, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001692/0.001692, allocations: 220.8 kB / 23 MB, free: 4.914 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002773/0.002773, allocations: 294.2 kB / 313.5 MB, free: 2.695 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.242/1.242, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.003006/0.003006, allocations: 101.8 kB / 0.7407 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.159, allocations: 95.38 MB / 0.8339 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04741/0.2064, allocations: 36.42 MB / 0.8695 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.2268, allocations: 11.11 MB / 0.8803 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.2303, allocations: 206.5 kB / 0.8805 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.2422, allocations: 4.378 MB / 0.8848 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006639/0.2488, allocations: 2.332 MB / 0.887 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005912/0.2548, allocations: 2.188 MB / 0.8892 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01239/0.2671, allocations: 9.269 MB / 0.8982 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.2777, allocations: 6.341 MB / 0.9044 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.2847, allocations: 4.125 MB / 0.9085 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007985/0.2927, allocations: 4.458 MB / 0.9128 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.2948, allocations: 0.8242 MB / 0.9136 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.2987, allocations: 1.498 MB / 0.9151 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004141/0.3029, allocations: 3.227 MB / 0.9182 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006085/0.3089, allocations: 2.977 MB / 0.9211 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.3247, allocations: 12.41 MB / 0.9333 GB, free: 1.676 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3248, allocations: 4 kB / 0.9333 GB, free: 1.672 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3248, allocations: 0 / 0.9333 GB, free: 1.672 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003178/0.3251, allocations: 4 kB / 0.9333 GB, free: 1.668 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01543/0.3405, allocations: 6.387 MB / 0.9395 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3406, allocations: 12.75 kB / 0.9395 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005359/0.3459, allocations: 1.102 MB / 0.9406 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008345/0.3543, allocations: 3.576 MB / 0.9441 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.3547, allocations: 423.7 kB / 0.9445 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/0.3562, allocations: 0.5433 MB / 0.945 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.3781, allocations: 10.29 MB / 0.9551 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/0.3783, allocations: 27.75 kB / 0.9551 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/0.3798, allocations: 252 kB / 0.9553 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007325/0.3806, allocations: 418.9 kB / 0.9557 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.3966, allocations: 7.116 MB / 0.9627 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4101/0.8067, allocations: 25.33 MB / 0.9874 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/0.8109, allocations: 2.898 MB / 0.9902 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.8133, allocations: 1.937 MB / 0.9921 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.973e-05/0.8134, allocations: 24.38 kB / 0.9922 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.8134, allocations: 60.67 kB / 0.9922 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.308e-06/0.8134, allocations: 0 / 0.9922 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02374/0.8372, allocations: 10.25 MB / 1.002 GB, free: 114 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.8372, allocations: 77.78 kB / 1.002 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.8396, allocations: 1.831 MB / 1.004 GB, free: 113.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002358/0.8398, allocations: 64.17 kB / 1.004 GB, free: 113.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.841, allocations: 2.488 MB / 1.007 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/0.8416, allocations: 0.7675 MB / 1.007 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006529/0.8422, allocations: 475.7 kB / 1.008 GB, free: 110.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.8423, allocations: 302.5 kB / 1.008 GB, free: 110.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.844, allocations: 1.374 MB / 1.009 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.8458, allocations: 2.109 MB / 1.011 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.8494, allocations: 3.762 MB / 1.015 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.8494, allocations: 7.906 kB / 1.015 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006528/0.856, allocations: 5.01 MB / 1.02 GB, free: 104 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.856, allocations: 14.47 kB / 1.02 GB, free: 104 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.856, allocations: 22.41 kB / 1.02 GB, free: 104 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/0.8589, allocations: 1.584 MB / 1.022 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.8605, allocations: 455 kB / 1.022 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.877, allocations: 17.78 MB / 1.039 GB, free: 86.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.8793, allocations: 143.9 kB / 1.04 GB, free: 86.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.8795, allocations: 116 kB / 1.04 GB, free: 86.56 MB / 0.7169 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002527/0.882, allocations: 1.946 MB / 1.042 GB, free: 84.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.8826, allocations: 282.3 kB / 1.042 GB, free: 84.33 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005526/0.8881, allocations: 4.389 MB / 1.046 GB, free: 79.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.8881, allocations: 21.59 kB / 1.046 GB, free: 79.89 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.8881, allocations: 16 kB / 1.046 GB, free: 79.88 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.8881, allocations: 15.95 kB / 1.046 GB, free: 79.86 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.9006, allocations: 8.36 MB / 1.054 GB, free: 71.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9006, allocations: 4 kB / 1.054 GB, free: 71.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00094/0.9015, allocations: 235.6 kB / 1.055 GB, free: 71.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.9043, allocations: 1.419 MB / 1.056 GB, free: 69.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.9044, allocations: 39.94 kB / 1.056 GB, free: 69.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/0.921, allocations: 17.78 MB / 1.073 GB, free: 51.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.921, allocations: 11.88 kB / 1.073 GB, free: 51.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/0.927, allocations: 4.478 MB / 1.078 GB, free: 46.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.9288, allocations: 0.5489 MB / 1.078 GB, free: 46.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/0.9292, allocations: 51.89 kB / 1.078 GB, free: 46.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.9304, allocations: 115.8 kB / 1.078 GB, free: 46.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004391/0.9309, allocations: 193.3 kB / 1.079 GB, free: 46.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.931, allocations: 60 kB / 1.079 GB, free: 46.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001254/0.9323, allocations: 1.165 MB / 1.08 GB, free: 44.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9323, allocations: 3.75 kB / 1.08 GB, free: 44.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003221/0.9355, allocations: 1.141 MB / 1.081 GB, free: 43.7 MB / 0.7169 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002641/0.9357, allocations: 159.8 kB / 1.081 GB, free: 43.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005699/0.9414, allocations: 4.551 MB / 1.086 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.9414, allocations: 2.438 kB / 1.086 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/0.9451, allocations: 2.795 MB / 1.088 GB, free: 36.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.9484, allocations: 0.8218 MB / 1.089 GB, free: 35.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.9627, allocations: 10.33 MB / 1.099 GB, free: 24.89 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/0.9666, allocations: 3.256 MB / 1.102 GB, free: 21.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007529/0.9674, allocations: 155.4 kB / 1.102 GB, free: 21.45 MB / 0.7169 GB Notification: Performance of SimCode: time 1.483e-06/0.9674, allocations: 0 / 1.102 GB, free: 21.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.2033/1.171, allocations: 173 MB / 1.271 GB, free: 8.531 MB / 0.8731 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.61878522578627] Failed to read output from testmodel.py, exit status != 0: 1.1795200537890196 1.196600071 0.868274753 Calling exit ...