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.00184/0.00184, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002255/0.002255, allocations: 168.6 kB / 22.46 MB, free: 5.359 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.002444/0.002444, allocations: 233.4 kB / 259.4 MB, free: 492 kB / 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.071/1.071, allocations: 138.4 MB / 454.3 MB, free: 1.977 MB / 366.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: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.467e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2756/0.2756, allocations: 31.08 MB / 0.6772 GB, free: 40.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.2964, allocations: 14.29 MB / 0.6911 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.3001, allocations: 203.1 kB / 0.6913 GB, free: 31.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.009883/0.31, allocations: 3.673 MB / 0.6949 GB, free: 28.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008541/0.3185, allocations: 3.08 MB / 0.6979 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00619/0.3247, allocations: 2.355 MB / 0.7002 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.3353, allocations: 9.008 MB / 0.709 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009005/0.3443, allocations: 5.512 MB / 0.7144 GB, free: 18.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009868/0.3542, allocations: 5.56 MB / 0.7198 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007179/0.3614, allocations: 3.735 MB / 0.7235 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002503/0.3639, allocations: 0.7191 MB / 0.7242 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005727/0.3696, allocations: 1.635 MB / 0.7258 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004422/0.374, allocations: 3.027 MB / 0.7287 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007024/0.3811, allocations: 2.378 MB / 0.7311 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.3943, allocations: 11.4 MB / 0.7422 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3943, allocations: 4 kB / 0.7422 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3943, allocations: 0 / 0.7422 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002842/0.3946, allocations: 0 / 0.7422 GB, free: 15.54 MB / 0.5762 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.0147/0.4093, allocations: 5.99 MB / 0.748 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4093, allocations: 16.03 kB / 0.7481 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007061/0.4164, allocations: 1.18 MB / 0.7492 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007731/0.4241, allocations: 3.465 MB / 0.7526 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.4244, allocations: 378.4 kB / 0.7529 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.4255, allocations: 492.3 kB / 0.7534 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.4422, allocations: 8.871 MB / 0.7621 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.4423, allocations: 23.77 kB / 0.7621 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006163/0.443, allocations: 216 kB / 0.7623 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00117/0.4441, allocations: 441.5 kB / 0.7627 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.4554, allocations: 6.073 MB / 0.7687 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03212/0.4875, allocations: 21.19 MB / 0.7894 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.4904, allocations: 1.913 MB / 0.7912 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.4931, allocations: 1.741 MB / 0.7929 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.4932, allocations: 22 kB / 0.7929 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.4932, allocations: 52.56 kB / 0.793 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=171): time 4.358e-06/0.4932, allocations: 0 / 0.793 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=276): time 0.1646/0.6578, allocations: 38.68 MB / 0.8308 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.6579, allocations: 81.56 kB / 0.8308 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.6607, allocations: 2.043 MB / 0.8328 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.661, allocations: 77.7 kB / 0.8329 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.6627, allocations: 2.344 MB / 0.8352 GB, free: 15.03 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008818/0.6636, allocations: 0.9682 MB / 0.8362 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.6646, allocations: 0.5025 MB / 0.8366 GB, free: 13.54 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6647, allocations: 301.1 kB / 0.8369 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/0.6677, allocations: 1.977 MB / 0.8389 GB, free: 11.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/0.6713, allocations: 2.599 MB / 0.8414 GB, free: 8.422 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00707/0.6784, allocations: 4.929 MB / 0.8462 GB, free: 3.219 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.6784, allocations: 4 kB / 0.8462 GB, free: 3.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01568/0.6941, allocations: 7.63 MB / 0.8537 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.6941, allocations: 12 kB / 0.8537 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.6941, allocations: 20.16 kB / 0.8537 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009989/0.7041, allocations: 3.206 MB / 0.8568 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.7058, allocations: 403.3 kB / 0.8572 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04876/0.7546, allocations: 32.56 MB / 0.889 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.7575, allocations: 167.8 kB / 0.8892 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.7577, allocations: 104 kB / 0.8893 GB, free: 6.449 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.003282/0.761, allocations: 1.797 MB / 0.891 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000562/0.7616, allocations: 326 kB / 0.8913 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.7767, allocations: 7.217 MB / 0.8984 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.7767, allocations: 28 kB / 0.8984 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.965e-05/0.7767, allocations: 32 kB / 0.8984 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.7768, allocations: 19.88 kB / 0.8985 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/0.8001, allocations: 11.4 MB / 0.9096 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.8001, allocations: 11.94 kB / 0.9096 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.8012, allocations: 231.6 kB / 0.9098 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009083/0.8102, allocations: 2.849 MB / 0.9126 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.8105, allocations: 52 kB / 0.9127 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2874/1.098, allocations: 31.32 MB / 0.9432 GB, free: 227.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.098, allocations: 10.06 kB / 0.9433 GB, free: 227.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.109, allocations: 6.743 MB / 0.9498 GB, free: 226.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.11, allocations: 0.6971 MB / 0.9505 GB, free: 226.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/1.111, allocations: 56.22 kB / 0.9506 GB, free: 226.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/1.112, allocations: 166.2 kB / 0.9507 GB, free: 226.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007635/1.113, allocations: 264.7 kB / 0.951 GB, free: 226.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.113, allocations: 77.91 kB / 0.9511 GB, free: 226.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001499/1.115, allocations: 1.331 MB / 0.9524 GB, free: 226.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9.1e-08/1.115, allocations: 0 / 0.9524 GB, free: 226.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003333/1.118, allocations: 1.364 MB / 0.9537 GB, free: 226.8 MB / 0.7637 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.0003239/1.118, allocations: 180.4 kB / 0.9539 GB, free: 226.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009562/1.128, allocations: 6.561 MB / 0.9603 GB, free: 224.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.128, allocations: 4.141 kB / 0.9603 GB, free: 224.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007216/1.135, allocations: 4.23 MB / 0.9644 GB, free: 222.4 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/1.14, allocations: 1.013 MB / 0.9654 GB, free: 222.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.156, allocations: 10.34 MB / 0.9755 GB, free: 217.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00412/1.16, allocations: 3.113 MB / 0.9785 GB, free: 216.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001995/1.162, allocations: 0.53 MB / 0.979 GB, free: 216.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/1.163, allocations: 149.3 kB / 0.9792 GB, free: 216.7 MB / 0.7637 GB Notification: Performance of SimCode: time 9.82e-07/1.163, allocations: 0 / 0.9792 GB, free: 216.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.09955/1.262, allocations: 75.28 MB / 1.053 GB, free: 168.4 MB / 0.7637 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: 8.6792699880898] Failed to read output from testmodel.py, exit status != 0: 1.2702252492308617 1.278874713 0.882231511 Calling exit ...