Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.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.0008794/0.0008794, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009407/0.0009407, allocations: 173.9 kB / 25.18 MB, free: 9.109 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.8996/0.8996, allocations: 177.1 MB / 205.6 MB, free: 4.988 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.841/1.841, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.326e-05, allocations: 4.844 kB / 0.7755 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.004393/0.004406, allocations: 4.73 MB / 0.7801 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.007826, allocations: 3.498 MB / 0.7835 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.008089, allocations: 35.69 kB / 0.7836 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.008622, allocations: 214.5 kB / 0.7838 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000901/0.009523, allocations: 0.7072 MB / 0.7845 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.01012, allocations: 324.4 kB / 0.7848 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008716/0.01099, allocations: 1.188 MB / 0.7859 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.01148, allocations: 0.5931 MB / 0.7865 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.01202, allocations: 0.7192 MB / 0.7872 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.01242, allocations: 420 kB / 0.7876 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.0125, allocations: 72 kB / 0.7877 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.01271, allocations: 144.3 kB / 0.7878 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.01287, allocations: 275.1 kB / 0.7881 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.01305, allocations: 280.2 kB / 0.7884 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.01358, allocations: 0.6734 MB / 0.789 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01358, allocations: 0.875 kB / 0.789 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.11e-07/0.01358, allocations: 0 / 0.789 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.01359, allocations: 0.5625 kB / 0.789 GB, free: 8.164 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.0009408/0.01453, allocations: 0.9779 MB / 0.79 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.01456, allocations: 10.28 kB / 0.79 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.01561, allocations: 410.9 kB / 0.7904 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.01608, allocations: 484.1 kB / 0.7908 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.0161, allocations: 41.69 kB / 0.7909 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.01616, allocations: 48.38 kB / 0.7909 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.01682, allocations: 0.7453 MB / 0.7917 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.01683, allocations: 7.875 kB / 0.7917 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.01688, allocations: 24 kB / 0.7917 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.01692, allocations: 45.28 kB / 0.7917 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.01732, allocations: 219.7 kB / 0.7919 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.01885, allocations: 1.72 MB / 0.7936 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.01928, allocations: 241.5 kB / 0.7938 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.01937, allocations: 57.91 kB / 0.7939 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.01939, allocations: 4.531 kB / 0.7939 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.01941, allocations: 42.5 kB / 0.7939 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 1.512e-06/0.01942, allocations: 1.031 kB / 0.7939 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.0009137/0.02033, allocations: 489.5 kB / 0.7944 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.02035, allocations: 55.39 kB / 0.7945 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.02059, allocations: 435.9 kB / 0.7949 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.02061, allocations: 29.7 kB / 0.7949 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.02073, allocations: 318.5 kB / 0.7952 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.02078, allocations: 107 kB / 0.7953 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.02086, allocations: 79.48 kB / 0.7954 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.02095, allocations: 366.6 kB / 0.7957 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.02102, allocations: 50.78 kB / 0.7958 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.02112, allocations: 146.2 kB / 0.7959 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.02133, allocations: 229.5 kB / 0.7961 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02133, allocations: 0 / 0.7961 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000413/0.02174, allocations: 347.3 kB / 0.7965 GB, free: 224 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.02176, allocations: 9.594 kB / 0.7965 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.02176, allocations: 4 kB / 0.7965 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.0222, allocations: 187.1 kB / 0.7967 GB, free: 24 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.02248, allocations: 106 kB / 0.7968 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.02448, allocations: 3.753 MB / 0.8004 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.02466, allocations: 48.47 kB / 0.8005 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.02468, allocations: 15.98 kB / 0.8005 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001298/0.02481, allocations: 128.5 kB / 0.8006 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001035/0.02491, allocations: 157.5 kB / 0.8008 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001873/0.0251, allocations: 217.6 kB / 0.801 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.0251, allocations: 0 / 0.801 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003519/0.02545, allocations: 319.8 kB / 0.8013 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.02546, allocations: 4.938 kB / 0.8013 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.02546, allocations: 7.938 kB / 0.8013 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.02567, allocations: 104.3 kB / 0.8014 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.0259, allocations: 103.9 kB / 0.8015 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.02736, allocations: 3.674 MB / 0.8051 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.02753, allocations: 39.77 kB / 0.8051 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.02755, allocations: 12 kB / 0.8051 GB, free: 6.703 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.02765, allocations: 206.1 kB / 0.8053 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.0277, allocations: 51.83 kB / 0.8054 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.02776, allocations: 65.28 kB / 0.8054 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02776, allocations: 5.688 kB / 0.8054 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.02776, allocations: 0 / 0.8054 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02776, allocations: 0 / 0.8054 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.02816, allocations: 273.4 kB / 0.8057 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02816, allocations: 4.125 kB / 0.8057 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.02835, allocations: 73.38 kB / 0.8058 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.02866, allocations: 153.5 kB / 0.8059 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.02868, allocations: 4 kB / 0.8059 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.03009, allocations: 3.677 MB / 0.8095 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.03009, allocations: 3.938 kB / 0.8095 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.03043, allocations: 347.3 kB / 0.8099 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.03052, allocations: 63.58 kB / 0.8099 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.03055, allocations: 9.219 kB / 0.8099 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.03069, allocations: 15.98 kB / 0.8099 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.03074, allocations: 28.98 kB / 0.81 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.03075, allocations: 11.98 kB / 0.81 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000119/0.03087, allocations: 184.4 kB / 0.8102 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.03087, allocations: 0.6562 kB / 0.8102 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004666/0.03134, allocations: 335.2 kB / 0.8105 GB, free: 0.8906 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 8.697e-05/0.03142, allocations: 90.62 kB / 0.8106 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007249/0.03215, allocations: 1.017 MB / 0.8116 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.03216, allocations: 8 kB / 0.8116 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.03241, allocations: 447.2 kB / 0.812 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.03284, allocations: 204 kB / 0.8122 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.03422, allocations: 1.109 MB / 0.8133 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.03444, allocations: 350.8 kB / 0.8136 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.03477, allocations: 201.2 kB / 0.8138 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.03477, allocations: 0 / 0.8138 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.01216/0.04693, allocations: 17.02 MB / 0.8304 GB, free: 12.34 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.245594353415072]