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.001343/0.001343, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002105/0.002105, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.805 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.002819/0.002819, allocations: 291.8 kB / 312.7 MB, free: 2.594 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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.00305/0.00305, allocations: 102.1 kB / 0.74 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1664, allocations: 95.38 MB / 0.8331 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04305/0.2095, allocations: 31.7 MB / 0.8641 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02618/0.2357, allocations: 14.45 MB / 0.8782 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.2392, allocations: 206.4 kB / 0.8784 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.2498, allocations: 3.68 MB / 0.882 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008354/0.2582, allocations: 2.976 MB / 0.8849 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006177/0.2644, allocations: 2.339 MB / 0.8872 GB, free: 276 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.276, allocations: 8.816 MB / 0.8958 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00986/0.2859, allocations: 5.479 MB / 0.9011 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006974/0.2928, allocations: 4.082 MB / 0.9051 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007624/0.3005, allocations: 4.01 MB / 0.9091 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002674/0.3031, allocations: 0.7188 MB / 0.9098 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005251/0.3084, allocations: 1.619 MB / 0.9113 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004985/0.3134, allocations: 2.895 MB / 0.9142 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007068/0.3204, allocations: 2.755 MB / 0.9169 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.3358, allocations: 11.28 MB / 0.9279 GB, free: 6.379 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3359, allocations: 0 / 0.9279 GB, free: 6.379 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3359, allocations: 0 / 0.9279 GB, free: 6.379 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003052/0.3362, allocations: 0 / 0.9279 GB, free: 6.379 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.01554/0.3517, allocations: 6.053 MB / 0.9338 GB, free: 264 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3517, allocations: 12.75 kB / 0.9338 GB, free: 252 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007306/0.3591, allocations: 1.16 MB / 0.9349 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009558/0.3686, allocations: 3.478 MB / 0.9383 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003894/0.369, allocations: 374.4 kB / 0.9387 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.3705, allocations: 0.4922 MB / 0.9392 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.3892, allocations: 8.858 MB / 0.9478 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000231/0.3894, allocations: 23.81 kB / 0.9478 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.3906, allocations: 216 kB / 0.948 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001216/0.3918, allocations: 437.6 kB / 0.9485 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.4048, allocations: 6.077 MB / 0.9544 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03701/0.4418, allocations: 21.23 MB / 0.9751 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.4449, allocations: 1.918 MB / 0.977 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/0.4477, allocations: 1.736 MB / 0.9787 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.4478, allocations: 22 kB / 0.9787 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.4479, allocations: 56.56 kB / 0.9788 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 3.968e-06/0.4479, allocations: 0 / 0.9788 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.5052/0.9531, allocations: 38.68 MB / 1.017 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.9532, allocations: 77.58 kB / 1.017 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.9554, allocations: 2.037 MB / 1.019 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.9557, allocations: 73.7 kB / 1.019 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009362/0.9566, allocations: 2.351 MB / 1.021 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/0.9573, allocations: 0.9812 MB / 1.022 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007664/0.958, allocations: 0.5181 MB / 1.022 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.619e-05/0.9581, allocations: 305.1 kB / 1.023 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.9603, allocations: 1.97 MB / 1.025 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.9627, allocations: 2.602 MB / 1.027 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005055/0.9678, allocations: 4.933 MB / 1.032 GB, free: 100.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.9678, allocations: 4 kB / 1.032 GB, free: 100.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01213/0.9799, allocations: 7.62 MB / 1.039 GB, free: 92.65 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.9799, allocations: 12 kB / 1.039 GB, free: 92.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.98, allocations: 16 kB / 1.039 GB, free: 92.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008133/0.9881, allocations: 3.215 MB / 1.043 GB, free: 89.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.9897, allocations: 403.3 kB / 1.043 GB, free: 89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03572/1.025, allocations: 32.56 MB / 1.075 GB, free: 55.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/1.028, allocations: 167.1 kB / 1.075 GB, free: 55.69 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/1.029, allocations: 108 kB / 1.075 GB, free: 55.58 MB / 0.7169 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.002479/1.031, allocations: 1.807 MB / 1.077 GB, free: 53.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000558/1.032, allocations: 322 kB / 1.077 GB, free: 53.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.043, allocations: 7.221 MB / 1.084 GB, free: 46.15 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.043, allocations: 28 kB / 1.084 GB, free: 46.12 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.072e-05/1.043, allocations: 31.94 kB / 1.084 GB, free: 46.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/1.043, allocations: 11.95 kB / 1.084 GB, free: 46.08 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/1.061, allocations: 11.4 MB / 1.095 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.061, allocations: 8.125 kB / 1.095 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/1.062, allocations: 235.5 kB / 1.096 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007125/1.069, allocations: 2.837 MB / 1.098 GB, free: 31.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/1.07, allocations: 52 kB / 1.098 GB, free: 31.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03359/1.103, allocations: 31.34 MB / 1.129 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.103, allocations: 15.88 kB / 1.129 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/1.117, allocations: 6.758 MB / 1.136 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/1.119, allocations: 0.7037 MB / 1.136 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004811/1.12, allocations: 52 kB / 1.136 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.121, allocations: 163.8 kB / 1.137 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008227/1.122, allocations: 273.2 kB / 1.137 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/1.122, allocations: 80 kB / 1.137 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002023/1.124, allocations: 1.33 MB / 1.138 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.124, allocations: 0 / 1.138 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004063/1.129, allocations: 1.363 MB / 1.14 GB, free: 4.539 MB / 0.7325 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.0003788/1.129, allocations: 179.1 kB / 1.14 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.141, allocations: 6.556 MB / 1.146 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.141, allocations: 7.938 kB / 1.146 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00848/1.15, allocations: 4.259 MB / 1.15 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/1.154, allocations: 1.013 MB / 1.151 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.174, allocations: 10.35 MB / 1.161 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005248/1.179, allocations: 3.115 MB / 1.164 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002017/1.181, allocations: 0.522 MB / 1.165 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/1.182, allocations: 147.4 kB / 1.165 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of SimCode: time 7.61e-07/1.182, allocations: 0 / 1.165 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of Templates: time 0.137/1.319, allocations: 82.03 MB / 1.245 GB, free: 9.48 MB / 0.8419 GB " [Timeout remaining time 659] 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: 9.267079420387745] Failed to read output from testmodel.py, exit status != 0: 1.3271938152611256 1.342421944 1.00322935 Calling exit ...