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.001506/0.001506, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00182/0.00182, allocations: 214.1 kB / 22.99 MB, free: 4.941 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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.002651/0.002651, allocations: 294.9 kB / 313.5 MB, free: 2.598 MB / 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.219/1.219, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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 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: 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.002928/0.002928, allocations: 108 kB / 0.7407 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1795, allocations: 95.38 MB / 0.8339 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01845/0.198, allocations: 13.93 MB / 0.8475 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.2158, allocations: 9.961 MB / 0.8572 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.2174, allocations: 79.25 kB / 0.8573 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005035/0.2224, allocations: 1.688 MB / 0.8589 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.2285, allocations: 1.859 MB / 0.8607 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.2307, allocations: 0.7543 MB / 0.8615 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003955/0.2347, allocations: 2.773 MB / 0.8642 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.2364, allocations: 1.188 MB / 0.8653 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.2387, allocations: 1.621 MB / 0.8669 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.2403, allocations: 1.097 MB / 0.868 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.2406, allocations: 160 kB / 0.8682 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.242, allocations: 0.7252 MB / 0.8689 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005935/0.2426, allocations: 0.6191 MB / 0.8695 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008378/0.2434, allocations: 0.7775 MB / 0.8702 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.2465, allocations: 2.794 MB / 0.873 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2465, allocations: 3.938 kB / 0.873 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2465, allocations: 0 / 0.873 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.2466, allocations: 4 kB / 0.873 GB, free: 15.64 MB / 0.6231 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.003798/0.2503, allocations: 2.143 MB / 0.8751 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2504, allocations: 13.34 kB / 0.8751 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.2618, allocations: 2.113 MB / 0.8771 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.2648, allocations: 1.229 MB / 0.8783 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.2649, allocations: 86.69 kB / 0.8784 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.2652, allocations: 120.1 kB / 0.8785 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0061/0.2713, allocations: 3.077 MB / 0.8815 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.2713, allocations: 11.89 kB / 0.8815 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.2715, allocations: 51.98 kB / 0.8816 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006774/0.2722, allocations: 190.1 kB / 0.8818 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007727/0.2799, allocations: 2.787 MB / 0.8845 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.2943, allocations: 8.143 MB / 0.8924 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006696/0.301, allocations: 2.179 MB / 0.8946 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/0.304, allocations: 1.202 MB / 0.8957 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-05/0.304, allocations: 9 kB / 0.8958 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.3041, allocations: 51.48 kB / 0.8958 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.407e-06/0.3041, allocations: 0 / 0.8958 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.06027/0.3644, allocations: 16 MB / 0.9114 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3644, allocations: 68.72 kB / 0.9115 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.366, allocations: 1.031 MB / 0.9125 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.3662, allocations: 53.7 kB / 0.9126 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/0.3668, allocations: 0.7596 MB / 0.9133 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005894/0.3674, allocations: 0.5383 MB / 0.9138 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00057/0.368, allocations: 287.5 kB / 0.9141 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3681, allocations: 305.1 kB / 0.9144 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/0.3718, allocations: 1.51 MB / 0.9159 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/0.3757, allocations: 1.78 MB / 0.9176 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007698/0.3834, allocations: 3.366 MB / 0.9209 GB, free: 13.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3834, allocations: 4 kB / 0.9209 GB, free: 13.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01383/0.3972, allocations: 5.196 MB / 0.926 GB, free: 8.512 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3972, allocations: 8 kB / 0.926 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3972, allocations: 8 kB / 0.926 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006811/0.404, allocations: 1.88 MB / 0.9278 GB, free: 6.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.406, allocations: 407.3 kB / 0.9282 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/0.4374, allocations: 22.87 MB / 0.9505 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.4403, allocations: 311.5 kB / 0.9508 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.4404, allocations: 63.97 kB / 0.9509 GB, free: 14.15 MB / 0.7012 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.0009511/0.4414, allocations: 457.5 kB / 0.9513 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.4417, allocations: 167 kB / 0.9515 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.4557, allocations: 5.248 MB / 0.9566 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4557, allocations: 16 kB / 0.9566 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.501e-05/0.4557, allocations: 20 kB / 0.9566 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.4558, allocations: 7.969 kB / 0.9567 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.4729, allocations: 6.809 MB / 0.9633 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4729, allocations: 0 / 0.9633 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/0.4746, allocations: 355.7 kB / 0.9636 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.4807, allocations: 1.7 MB / 0.9653 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.4809, allocations: 47.91 kB / 0.9653 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4312/0.9121, allocations: 22.02 MB / 0.9868 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.9121, allocations: 3 kB / 0.9868 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/0.9341, allocations: 4.815 MB / 0.9916 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/0.9361, allocations: 408.4 kB / 0.9919 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/0.9366, allocations: 28.56 kB / 0.992 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/0.9407, allocations: 320 kB / 0.9923 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008103/0.9415, allocations: 154.5 kB / 0.9924 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/0.9417, allocations: 54.95 kB / 0.9925 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001633/0.9434, allocations: 0.6918 MB / 0.9931 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9434, allocations: 0.8438 kB / 0.9931 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003788/0.9472, allocations: 0.6525 MB / 0.9938 GB, free: 130.4 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 (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.0004444/0.9476, allocations: 141.7 kB / 0.9939 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02118/0.9688, allocations: 4.913 MB / 0.9987 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.9688, allocations: 2.156 kB / 0.9987 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/0.9807, allocations: 3.275 MB / 1.002 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/0.9847, allocations: 0.5241 MB / 1.002 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.999, allocations: 4.461 MB / 1.007 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/1.001, allocations: 0.9867 MB / 1.008 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000942/1.001, allocations: 124.1 kB / 1.008 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.001, allocations: 0 / 1.008 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.1038/1.105, allocations: 85.73 MB / 1.092 GB, free: 43.8 MB / 0.7169 GB " [Timeout remaining time 659] 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: 15.237237154971808] Failed to read output from testmodel.py, exit status != 0: 1.1129149901680648 1.123412137 0.874474478 Calling exit ...