Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008343/0.0008343, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008165/0.0008165, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8493/0.8493, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001441/0.001441, allocations: 238.4 kB / 260.2 MB, free: 13 MB / 250.7 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 0.6706/0.6706, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.7 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 0 / 0.6475 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.315e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.2186/0.2187, allocations: 13.72 MB / 0.6609 GB, free: 49.76 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009891/0.2286, allocations: 9.831 MB / 0.6705 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008443/0.2294, allocations: 78.81 kB / 0.6706 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.2315, allocations: 1.688 MB / 0.6722 GB, free: 42.58 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.2351, allocations: 1.905 MB / 0.6741 GB, free: 41.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.2365, allocations: 0.7699 MB / 0.6748 GB, free: 41.05 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001996/0.2385, allocations: 2.846 MB / 0.6776 GB, free: 39.72 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009887/0.2395, allocations: 1.189 MB / 0.6788 GB, free: 39.09 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.241, allocations: 2.001 MB / 0.6807 GB, free: 38.35 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009571/0.2419, allocations: 0.9857 MB / 0.6817 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.2421, allocations: 160.4 kB / 0.6819 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.2431, allocations: 0.7387 MB / 0.6826 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005025/0.2436, allocations: 0.6433 MB / 0.6832 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005266/0.2442, allocations: 0.643 MB / 0.6838 GB, free: 37.23 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.2467, allocations: 2.812 MB / 0.6866 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2467, allocations: 0 / 0.6866 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2467, allocations: 0 / 0.6866 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.2468, allocations: 0 / 0.6866 GB, free: 36.3 MB / 0.5573 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.002535/0.2493, allocations: 2.129 MB / 0.6887 GB, free: 34.99 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.2494, allocations: 11.31 kB / 0.6887 GB, free: 34.99 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006594/0.2559, allocations: 2.123 MB / 0.6907 GB, free: 34.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.2577, allocations: 1.23 MB / 0.6919 GB, free: 34.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.2578, allocations: 88.39 kB / 0.692 GB, free: 34.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.258, allocations: 116.1 kB / 0.6921 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.2614, allocations: 3.077 MB / 0.6951 GB, free: 32.26 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.2615, allocations: 19.72 kB / 0.6952 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.2616, allocations: 53.95 kB / 0.6952 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000322/0.2619, allocations: 190.1 kB / 0.6954 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.2658, allocations: 2.786 MB / 0.6981 GB, free: 30.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007051/0.2729, allocations: 8.114 MB / 0.706 GB, free: 24.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/0.2764, allocations: 2.184 MB / 0.7082 GB, free: 23.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.278, allocations: 1.2 MB / 0.7093 GB, free: 22.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.278, allocations: 18.53 kB / 0.7094 GB, free: 22.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.278, allocations: 44.48 kB / 0.7094 GB, free: 22.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=89): time 2.315e-06/0.278, allocations: 0 / 0.7094 GB, free: 22.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=153): time 0.02809/0.3061, allocations: 15.99 MB / 0.725 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3062, allocations: 68.72 kB / 0.7251 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.307, allocations: 1.038 MB / 0.7261 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/0.307, allocations: 49.7 kB / 0.7261 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.3073, allocations: 0.7558 MB / 0.7269 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.3075, allocations: 0.5305 MB / 0.7274 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.3078, allocations: 287.5 kB / 0.7277 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.505e-05/0.3078, allocations: 301.1 kB / 0.728 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.3096, allocations: 1.507 MB / 0.7294 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.3114, allocations: 1.784 MB / 0.7312 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.315, allocations: 3.369 MB / 0.7345 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.315, allocations: 7.938 kB / 0.7345 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007241/0.3222, allocations: 5.195 MB / 0.7395 GB, free: 12.09 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3222, allocations: 11.94 kB / 0.7396 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3222, allocations: 4 kB / 0.7396 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00361/0.3258, allocations: 1.878 MB / 0.7414 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/0.3268, allocations: 419.2 kB / 0.7418 GB, free: 9.766 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01824/0.3451, allocations: 22.84 MB / 0.7641 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.3467, allocations: 312.1 kB / 0.7644 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.3468, allocations: 70.91 kB / 0.7645 GB, free: 1.762 MB / 0.5886 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007833/0.3476, allocations: 469.3 kB / 0.7649 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.3478, allocations: 171 kB / 0.7651 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008307/0.3561, allocations: 5.24 MB / 0.7702 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3561, allocations: 16 kB / 0.7702 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.3561, allocations: 23.94 kB / 0.7702 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.3561, allocations: 3.984 kB / 0.7702 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009305/0.3654, allocations: 6.802 MB / 0.7769 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3654, allocations: 0 / 0.7769 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.3662, allocations: 355.3 kB / 0.7772 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/0.3692, allocations: 1.695 MB / 0.7789 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.3693, allocations: 51.89 kB / 0.7789 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/0.3861, allocations: 22 MB / 0.8004 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3861, allocations: 4 kB / 0.8004 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006619/0.3927, allocations: 4.809 MB / 0.8051 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.3934, allocations: 410.7 kB / 0.8055 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.3935, allocations: 27.95 kB / 0.8055 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3945, allocations: 319.5 kB / 0.8058 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.3949, allocations: 156.9 kB / 0.806 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.673e-05/0.3949, allocations: 59.89 kB / 0.806 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006544/0.3956, allocations: 0.6918 MB / 0.8067 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3956, allocations: 0 / 0.8067 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00156/0.3972, allocations: 0.6528 MB / 0.8074 GB, free: 4.781 MB / 0.6355 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (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.0002535/0.3974, allocations: 143.1 kB / 0.8075 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006057/0.4035, allocations: 4.909 MB / 0.8123 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4035, allocations: 0 / 0.8123 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003616/0.4071, allocations: 3.273 MB / 0.8155 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4084, allocations: 0.5153 MB / 0.816 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.4141, allocations: 4.448 MB / 0.8203 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.415, allocations: 0.976 MB / 0.8213 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.4153, allocations: 120.4 kB / 0.8214 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/0.4153, allocations: 0 / 0.8214 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of Templates: time 0.05585/0.4712, allocations: 85.72 MB / 0.9051 GB, free: 0.4961 MB / 0.7292 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.239231862127781] Failed to read output from testmodel.py, exit status != 0: 0.4763533491641283 0.489495488 0.240286452 Calling exit ...