Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001374/0.001374, allocations: 110.2 kB / 19.69 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.001593/0.001593, allocations: 216.9 kB / 23.01 MB, free: 4.566 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.003845/0.003845, allocations: 285.5 kB / 313.5 MB, free: 2.824 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.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0032/0.0032, allocations: 105.7 kB / 0.7408 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.173, allocations: 95.39 MB / 0.834 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04261/0.2156, allocations: 34.82 MB / 0.868 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.2411, allocations: 15.31 MB / 0.8829 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.2443, allocations: 206.4 kB / 0.8831 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.2544, allocations: 3.829 MB / 0.8869 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008499/0.2629, allocations: 3.011 MB / 0.8898 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006311/0.2692, allocations: 2.386 MB / 0.8921 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0122/0.2814, allocations: 8.812 MB / 0.9007 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.2919, allocations: 5.545 MB / 0.9061 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007166/0.2991, allocations: 4.075 MB / 0.9101 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00781/0.3069, allocations: 4.268 MB / 0.9143 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002249/0.3092, allocations: 0.7148 MB / 0.915 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005573/0.3147, allocations: 1.751 MB / 0.9167 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004765/0.3195, allocations: 2.895 MB / 0.9195 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007584/0.3271, allocations: 3.392 MB / 0.9228 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02059/0.3477, allocations: 11.22 MB / 0.9338 GB, free: 1.496 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3477, allocations: 0 / 0.9338 GB, free: 1.496 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3477, allocations: 3.938 kB / 0.9338 GB, free: 1.492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004854/0.3482, allocations: 0 / 0.9338 GB, free: 1.492 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01767/0.3658, allocations: 6.061 MB / 0.9397 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3659, allocations: 8.75 kB / 0.9397 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00739/0.3733, allocations: 1.164 MB / 0.9409 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009342/0.3826, allocations: 3.481 MB / 0.9443 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004186/0.383, allocations: 374.4 kB / 0.9446 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001769/0.3848, allocations: 496 kB / 0.9451 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.4038, allocations: 8.005 MB / 0.9529 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/0.4041, allocations: 27.77 kB / 0.9529 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.4056, allocations: 216 kB / 0.9531 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001121/0.4067, allocations: 433.6 kB / 0.9536 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.4206, allocations: 6.085 MB / 0.9595 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05265/0.4732, allocations: 34.64 MB / 0.9933 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.412/0.8852, allocations: 1.919 MB / 0.9952 GB, free: 145.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.8879, allocations: 1.739 MB / 0.9969 GB, free: 145.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.8881, allocations: 19.03 kB / 0.9969 GB, free: 145.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.8881, allocations: 65.06 kB / 0.997 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.206e-06/0.8881, allocations: 2.125 kB / 0.997 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1337/1.022, allocations: 38.7 MB / 1.035 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.022, allocations: 89.22 kB / 1.035 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/1.024, allocations: 2.283 MB / 1.037 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/1.024, allocations: 73.7 kB / 1.037 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009053/1.025, allocations: 2.339 MB / 1.039 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/1.026, allocations: 0.9763 MB / 1.04 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007201/1.027, allocations: 0.5103 MB / 1.041 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/1.027, allocations: 301.1 kB / 1.041 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/1.029, allocations: 1.97 MB / 1.043 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/1.031, allocations: 2.602 MB / 1.046 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/1.036, allocations: 4.933 MB / 1.05 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.036, allocations: 11.98 kB / 1.05 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0117/1.048, allocations: 7.645 MB / 1.058 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.048, allocations: 12.97 kB / 1.058 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.048, allocations: 20 kB / 1.058 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007725/1.055, allocations: 3.214 MB / 1.061 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.057, allocations: 407.3 kB / 1.062 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03364/1.09, allocations: 33.29 MB / 1.094 GB, free: 67.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/1.093, allocations: 155.8 kB / 1.094 GB, free: 66.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/1.093, allocations: 116 kB / 1.094 GB, free: 66.86 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002312/1.095, allocations: 1.798 MB / 1.096 GB, free: 65.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/1.096, allocations: 345.9 kB / 1.096 GB, free: 64.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.107, allocations: 7.243 MB / 1.103 GB, free: 57.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.107, allocations: 28 kB / 1.103 GB, free: 57.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.993e-05/1.107, allocations: 28 kB / 1.103 GB, free: 57.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.107, allocations: 15.89 kB / 1.104 GB, free: 57.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.125, allocations: 12.79 MB / 1.116 GB, free: 44.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.125, allocations: 8 kB / 1.116 GB, free: 44.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/1.126, allocations: 233.1 kB / 1.116 GB, free: 44.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006933/1.133, allocations: 2.852 MB / 1.119 GB, free: 41.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/1.133, allocations: 52 kB / 1.119 GB, free: 41.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03287/1.166, allocations: 32.08 MB / 1.15 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/1.166, allocations: 15.88 kB / 1.15 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.176, allocations: 6.79 MB / 1.157 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.178, allocations: 0.7247 MB / 1.158 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/1.179, allocations: 55.98 kB / 1.158 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.18, allocations: 163.8 kB / 1.158 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007307/1.181, allocations: 265.4 kB / 1.158 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.181, allocations: 76 kB / 1.158 GB, free: 200 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002289/1.183, allocations: 1.525 MB / 1.16 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/1.183, allocations: 3.75 kB / 1.16 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004115/1.188, allocations: 1.367 MB / 1.161 GB, free: 13.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003897/1.188, allocations: 182.9 kB / 1.161 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.2, allocations: 6.553 MB / 1.168 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.2, allocations: 4 kB / 1.168 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008245/1.208, allocations: 4.258 MB / 1.172 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004761/1.213, allocations: 1.121 MB / 1.173 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.234, allocations: 11.06 MB / 1.184 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005352/1.239, allocations: 3.749 MB / 1.187 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/1.24, allocations: 171.4 kB / 1.188 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of SimCode: time 1.623e-06/1.24, allocations: 0 / 1.188 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of Templates: time 0.5588/1.799, allocations: 227.9 MB / 1.41 GB, free: 274.3 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 22.195740825030953] Failed to read output from testmodel.py, exit status != 0: 1.8069569647777826 1.815849175 1.465776714 Calling exit ...