Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009262/0.0009262, allocations: 80.81 kB / 21.54 MB, free: 2.949 MB / 18.57 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.001026/0.001026, allocations: 163.4 kB / 24.96 MB, free: 8.137 MB / 18.57 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 0.9106/0.9106, allocations: 177.1 MB / 205.4 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.762/1.762, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.206e-05, allocations: 2.312 kB / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008286/0.008308, allocations: 10.41 MB / 0.7861 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007111/0.01542, allocations: 6.957 MB / 0.7929 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.01604, allocations: 87.25 kB / 0.793 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.01679, allocations: 397.7 kB / 0.7934 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.01984, allocations: 1.684 MB / 0.795 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.02102, allocations: 0.6698 MB / 0.7957 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.02349, allocations: 2.843 MB / 0.7985 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.02476, allocations: 1.258 MB / 0.7997 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.02631, allocations: 2.1 MB / 0.8017 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008159/0.02712, allocations: 0.9557 MB / 0.8027 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.02727, allocations: 160 kB / 0.8028 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.0277, allocations: 320.7 kB / 0.8031 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.02805, allocations: 0.6464 MB / 0.8038 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.02852, allocations: 0.639 MB / 0.8044 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.02961, allocations: 1.535 MB / 0.8059 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.02961, allocations: 0 / 0.8059 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.12e-07/0.02961, allocations: 0 / 0.8059 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.02962, allocations: 0 / 0.8059 GB, free: 6.711 MB / 0.7605 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.001977/0.0316, allocations: 2.006 MB / 0.8078 GB, free: 4.68 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.03163, allocations: 13.28 kB / 0.8079 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.03479, allocations: 0.8643 MB / 0.8087 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.0359, allocations: 1.076 MB / 0.8097 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.03594, allocations: 87.53 kB / 0.8098 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.03609, allocations: 124.3 kB / 0.81 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.03764, allocations: 1.612 MB / 0.8115 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.03767, allocations: 15.83 kB / 0.8115 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.03776, allocations: 53.22 kB / 0.8116 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/0.03803, allocations: 154.2 kB / 0.8117 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.03876, allocations: 0.5707 MB / 0.8123 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.04389, allocations: 5.712 MB / 0.8179 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.04477, allocations: 0.5935 MB / 0.8185 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.04505, allocations: 251.1 kB / 0.8187 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.0451, allocations: 13 kB / 0.8187 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.04513, allocations: 47.56 kB / 0.8187 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=89): time 2.114e-06/0.04513, allocations: 0 / 0.8187 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90): time 0.008188/0.05332, allocations: 3.897 MB / 0.8226 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.05334, allocations: 64.34 kB / 0.8226 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.05386, allocations: 0.9067 MB / 0.8235 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.05392, allocations: 41.7 kB / 0.8235 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.05416, allocations: 0.5773 MB / 0.8241 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.05435, allocations: 337 kB / 0.8244 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.05459, allocations: 186.8 kB / 0.8246 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.05466, allocations: 345.9 kB / 0.8249 GB, free: 2.766 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.05491, allocations: 198.5 kB / 0.8251 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.05526, allocations: 437.3 kB / 0.8255 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.05593, allocations: 0.7194 MB / 0.8262 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.05594, allocations: 4 kB / 0.8262 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001882/0.05782, allocations: 1.258 MB / 0.8275 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.05784, allocations: 8 kB / 0.8275 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.05785, allocations: 8 kB / 0.8275 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.06014, allocations: 0.8583 MB / 0.8283 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.06065, allocations: 187.6 kB / 0.8285 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/0.06615, allocations: 6.986 MB / 0.8353 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.06667, allocations: 51.97 kB / 0.8354 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.06674, allocations: 39.97 kB / 0.8354 GB, free: 7.414 MB / 0.7917 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.06701, allocations: 180.5 kB / 0.8356 GB, free: 7.227 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.06716, allocations: 119.8 kB / 0.8357 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.06906, allocations: 1.249 MB / 0.8369 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.06906, allocations: 23.88 kB / 0.8369 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.06907, allocations: 8 kB / 0.837 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.06908, allocations: 3.984 kB / 0.837 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.07179, allocations: 1.973 MB / 0.8389 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.07179, allocations: 0 / 0.8389 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.0722, allocations: 115.8 kB / 0.839 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.07418, allocations: 0.8417 MB / 0.8398 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.07424, allocations: 27.97 kB / 0.8398 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005334/0.07957, allocations: 6.99 MB / 0.8467 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.07957, allocations: 4 kB / 0.8467 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.08139, allocations: 1.262 MB / 0.8479 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.0817, allocations: 246.9 kB / 0.8481 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.0818, allocations: 20 kB / 0.8482 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.08223, allocations: 43.98 kB / 0.8482 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.0824, allocations: 88.7 kB / 0.8483 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/0.08246, allocations: 31.95 kB / 0.8483 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000704/0.08317, allocations: 459.7 kB / 0.8488 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/0.08317, allocations: 0 / 0.8488 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008883/0.08405, allocations: 484 kB / 0.8492 GB, free: 8.734 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001888/0.08424, allocations: 112.3 kB / 0.8493 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.08581, allocations: 1.451 MB / 0.8507 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/0.08582, allocations: 16.5 kB / 0.8508 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.08688, allocations: 1.145 MB / 0.8519 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.08791, allocations: 0.5163 MB / 0.8524 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.09065, allocations: 2.51 MB / 0.8548 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.09093, allocations: 396.1 kB / 0.8552 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0009667/0.0919, allocations: 283.2 kB / 0.8555 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.09261, allocations: 399 kB / 0.8559 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.09261, allocations: 0 / 0.8559 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of Templates: time 0.03371/0.1263, allocations: 35.49 MB / 0.8905 GB, free: 14.86 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.261694666929543]