Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 194.8 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002622/0.002622, allocations: 287.5 kB / 307 MB, free: 8.375 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.24/1.24, allocations: 180.8 MB / 0.5304 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 104 kB / 0.7311 GB, free: 38.85 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 94.2 MB / 0.8231 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05175/0.2109, allocations: 42.68 MB / 0.8648 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02801/0.2389, allocations: 15.69 MB / 0.8801 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005315/0.2442, allocations: 246.1 kB / 0.8803 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01227/0.2565, allocations: 4.68 MB / 0.8849 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008302/0.2648, allocations: 2.927 MB / 0.8877 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009447/0.2742, allocations: 3.254 MB / 0.8909 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01583/0.2901, allocations: 11.42 MB / 0.9021 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.3032, allocations: 6.422 MB / 0.9083 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008162/0.3114, allocations: 4.974 MB / 0.9132 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009935/0.3213, allocations: 5.76 MB / 0.9188 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002893/0.3242, allocations: 0.9492 MB / 0.9198 GB, free: 14.64 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/0.3299, allocations: 1.919 MB / 0.9216 GB, free: 12.72 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00609/0.336, allocations: 3.784 MB / 0.9253 GB, free: 8.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008604/0.3446, allocations: 4.303 MB / 0.9295 GB, free: 4.609 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.3639, allocations: 14.31 MB / 0.9435 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3639, allocations: 0 / 0.9435 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3639, allocations: 0 / 0.9435 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004353/0.3643, allocations: 0 / 0.9435 GB, free: 6.258 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02212/0.3864, allocations: 7.711 MB / 0.951 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3865, allocations: 8.625 kB / 0.951 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.3977, allocations: 1.561 MB / 0.9526 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.409, allocations: 4.386 MB / 0.9568 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005551/0.4096, allocations: 452.5 kB / 0.9573 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002695/0.4123, allocations: 0.5939 MB / 0.9579 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02703/0.4393, allocations: 10.69 MB / 0.9683 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003409/0.4397, allocations: 27.83 kB / 0.9683 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/0.4418, allocations: 267.9 kB / 0.9686 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003155/0.445, allocations: 0.7729 MB / 0.9693 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.4649, allocations: 8.561 MB / 0.9777 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4873/0.9523, allocations: 46.09 MB / 1.023 GB, free: 145.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.9585, allocations: 3.981 MB / 1.027 GB, free: 145.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006098/0.9646, allocations: 3.357 MB / 1.03 GB, free: 145 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.9649, allocations: 40.91 kB / 1.03 GB, free: 145 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.9649, allocations: 83.47 kB / 1.03 GB, free: 144.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=353): time 5.26e-06/0.9649, allocations: 0 / 1.03 GB, free: 144.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=578): time 0.4527/1.418, allocations: 121.1 MB / 1.148 GB, free: 42.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/1.418, allocations: 108.5 kB / 1.148 GB, free: 42.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/1.421, allocations: 2.686 MB / 1.151 GB, free: 39.85 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007959/1.422, allocations: 121.7 kB / 1.151 GB, free: 39.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.423, allocations: 2.749 MB / 1.154 GB, free: 37.33 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.424, allocations: 2.051 MB / 1.156 GB, free: 35.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/1.426, allocations: 0.9328 MB / 1.157 GB, free: 34.44 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/1.426, allocations: 308.8 kB / 1.157 GB, free: 34.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004847/1.431, allocations: 4.079 MB / 1.161 GB, free: 30.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/1.436, allocations: 5.011 MB / 1.166 GB, free: 24.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.447, allocations: 9.851 MB / 1.175 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.447, allocations: 8 kB / 1.175 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03427/1.481, allocations: 16.74 MB / 1.192 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/1.481, allocations: 19.98 kB / 1.192 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/1.481, allocations: 20 kB / 1.192 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03317/1.514, allocations: 9.072 MB / 1.201 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/1.517, allocations: 0.5265 MB / 1.201 GB, free: 3.938 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1194/1.636, allocations: 75.91 MB / 1.275 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005148/1.642, allocations: 283.8 kB / 1.276 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007601/1.642, allocations: 184 kB / 1.276 GB, free: 6.316 MB / 0.8419 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004541/1.647, allocations: 2.43 MB / 1.278 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.648, allocations: 497 kB / 1.279 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0414/1.69, allocations: 16.54 MB / 1.295 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/1.69, allocations: 56.88 kB / 1.295 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002364/1.69, allocations: 68 kB / 1.295 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001502/1.69, allocations: 31.89 kB / 1.295 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05832/1.748, allocations: 25.36 MB / 1.32 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-05/1.748, allocations: 8 kB / 1.32 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/1.75, allocations: 319.5 kB / 1.32 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03071/1.781, allocations: 8.255 MB / 1.328 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/1.782, allocations: 104 kB / 1.328 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5307/2.313, allocations: 72.78 MB / 1.399 GB, free: 296.4 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/2.313, allocations: 17.72 kB / 1.399 GB, free: 296.4 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0382/2.351, allocations: 21.31 MB / 1.42 GB, free: 287.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003312/2.354, allocations: 1.309 MB / 1.421 GB, free: 287.2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008878/2.355, allocations: 110.4 kB / 1.421 GB, free: 287.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/2.358, allocations: 293.3 kB / 1.422 GB, free: 287.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001815/2.36, allocations: 0.5553 MB / 1.422 GB, free: 287 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000366/2.36, allocations: 147.6 kB / 1.422 GB, free: 286.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002386/2.363, allocations: 1.777 MB / 1.424 GB, free: 286.3 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/2.363, allocations: 3.938 kB / 1.424 GB, free: 286.3 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006802/2.37, allocations: 2.46 MB / 1.427 GB, free: 284.5 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007398/2.37, allocations: 236 kB / 1.427 GB, free: 284.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02154/2.392, allocations: 13.74 MB / 1.44 GB, free: 271.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/2.392, allocations: 4 kB / 1.44 GB, free: 271.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/2.408, allocations: 9.025 MB / 1.449 GB, free: 262.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006398/2.415, allocations: 1.381 MB / 1.45 GB, free: 261.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/2.437, allocations: 15.94 MB / 1.466 GB, free: 245.4 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004378/2.441, allocations: 4.905 MB / 1.471 GB, free: 240.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002299/2.443, allocations: 0.7371 MB / 1.471 GB, free: 239.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/2.444, allocations: 199.4 kB / 1.472 GB, free: 239.5 MB / 0.92 GB Notification: Performance of SimCode: time 9.22e-07/2.444, allocations: 0 / 1.472 GB, free: 239.5 MB / 0.92 GB Notification: Performance of Templates: time 0.1796/2.624, allocations: 153.7 MB / 1.622 GB, free: 87.27 MB / 0.92 GB " [Timeout remaining time 657] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.534639591998712] Failed to read output from testmodel.py, exit status != 0: 2.6313838200003374 2.640524675 2.274325364 Calling exit ...