Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001362/0.001362, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001427/0.001427, allocations: 156.9 kB / 23.01 MB, free: 4.961 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.002448/0.002448, allocations: 236.9 kB / 260 MB, free: 440 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.004/1.004, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.003056/0.003056, allocations: 96.38 kB / 0.6473 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3943, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01302/0.4073, allocations: 13.28 MB / 0.7534 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.4194, allocations: 9.141 MB / 0.7624 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.421, allocations: 82.47 kB / 0.7624 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00404/0.425, allocations: 1.671 MB / 0.7641 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.4292, allocations: 1.587 MB / 0.7656 GB, free: 360 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.4311, allocations: 0.7682 MB / 0.7664 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003543/0.4346, allocations: 2.526 MB / 0.7688 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.4363, allocations: 1.177 MB / 0.77 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.4381, allocations: 1.133 MB / 0.7711 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.4398, allocations: 1.1 MB / 0.7722 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.4401, allocations: 165 kB / 0.7723 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.4415, allocations: 0.7234 MB / 0.773 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006554/0.4422, allocations: 0.6328 MB / 0.7736 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00093/0.4431, allocations: 0.774 MB / 0.7744 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.4464, allocations: 2.784 MB / 0.7771 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4464, allocations: 0 / 0.7771 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4464, allocations: 0 / 0.7771 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.155e-05/0.4464, allocations: 0 / 0.7771 GB, free: 9.004 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004227/0.4506, allocations: 2.109 MB / 0.7792 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4507, allocations: 10.56 kB / 0.7792 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.4628, allocations: 2.103 MB / 0.7812 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.4657, allocations: 1.216 MB / 0.7824 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.4658, allocations: 93.7 kB / 0.7825 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.4661, allocations: 121.1 kB / 0.7826 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00626/0.4723, allocations: 3.08 MB / 0.7856 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.4724, allocations: 3.938 kB / 0.7856 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.4725, allocations: 58.52 kB / 0.7857 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000669/0.4732, allocations: 183 kB / 0.7859 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008067/0.4813, allocations: 2.794 MB / 0.7886 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.4962, allocations: 8.129 MB / 0.7965 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007142/0.5033, allocations: 2.225 MB / 0.7987 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.5066, allocations: 1.21 MB / 0.7999 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.5067, allocations: 9 kB / 0.7999 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.5067, allocations: 55.5 kB / 0.8 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.5067, allocations: 0 / 0.8 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of matching and sorting (n=131): time 0.0493/0.556, allocations: 12.65 MB / 0.8123 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.5561, allocations: 64.72 kB / 0.8124 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.5576, allocations: 0.9757 MB / 0.8133 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.5578, allocations: 53.7 kB / 0.8134 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/0.5584, allocations: 0.7354 MB / 0.8141 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000552/0.5589, allocations: 475.9 kB / 0.8146 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/0.5595, allocations: 255.5 kB / 0.8148 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.5597, allocations: 369.8 kB / 0.8151 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/0.5633, allocations: 1.339 MB / 0.8165 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003902/0.5672, allocations: 1.604 MB / 0.818 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007587/0.5748, allocations: 2.991 MB / 0.8209 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.5748, allocations: 3.984 kB / 0.8209 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01239/0.5872, allocations: 4.381 MB / 0.8252 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5873, allocations: 15.06 kB / 0.8252 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.5873, allocations: 12.06 kB / 0.8253 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005594/0.5929, allocations: 1.423 MB / 0.8266 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.595, allocations: 439.2 kB / 0.8271 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03234/0.6274, allocations: 24.81 MB / 0.8513 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.6301, allocations: 311.6 kB / 0.8516 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.6304, allocations: 63.95 kB / 0.8516 GB, free: 14.68 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009944/0.6314, allocations: 442.5 kB / 0.8521 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.6318, allocations: 151.1 kB / 0.8522 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.6444, allocations: 4.4 MB / 0.8565 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.6444, allocations: 15.94 kB / 0.8565 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-05/0.6444, allocations: 16 kB / 0.8565 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.6445, allocations: 3.984 kB / 0.8565 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.6609, allocations: 6.125 MB / 0.8625 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.661, allocations: 8.062 kB / 0.8625 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/0.6629, allocations: 375.4 kB / 0.8629 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005132/0.6681, allocations: 1.314 MB / 0.8642 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.6683, allocations: 35.97 kB / 0.8642 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02879/0.6971, allocations: 23.69 MB / 0.8873 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6971, allocations: 7.938 kB / 0.8873 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.7091, allocations: 4.151 MB / 0.8914 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.7102, allocations: 370.8 kB / 0.8918 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/0.7106, allocations: 24 kB / 0.8918 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/0.7129, allocations: 319.4 kB / 0.8921 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/0.7133, allocations: 124.7 kB / 0.8922 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.7135, allocations: 55.95 kB / 0.8923 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001021/0.7145, allocations: 0.6467 MB / 0.8929 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7145, allocations: 0 / 0.8929 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002305/0.7168, allocations: 0.5625 MB / 0.8934 GB, free: 2.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003168/0.7171, allocations: 143.1 kB / 0.8936 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01204/0.7292, allocations: 4.97 MB / 0.8984 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.7292, allocations: 4 kB / 0.8984 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007616/0.7368, allocations: 3.413 MB / 0.9018 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.7397, allocations: 0.5061 MB / 0.9023 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.7499, allocations: 4.053 MB / 0.9062 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.7514, allocations: 0.8828 MB / 0.9071 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001611/0.753, allocations: 404.3 kB / 0.9075 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.7534, allocations: 104.4 kB / 0.9076 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of SimCode: time 6.62e-07/0.7534, allocations: 0 / 0.9076 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of Templates: time 0.06733/0.8208, allocations: 40.36 MB / 0.947 GB, free: 11.69 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.495647841016762] Failed to read output from testmodel.py, exit status != 0: 0.8298650230281055 0.8453257279999999 0.39572678299999997 Calling exit ...