Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.8 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007098/0.0007098, allocations: 92.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003192, allocations: 9.625 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1919, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002778/0.1947, allocations: 2.778 MB / 0.8994 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1962, allocations: 1.344 MB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1964, allocations: 7.938 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007589/0.1971, allocations: 303 kB / 0.9011 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.1974, allocations: 143.4 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1977, allocations: 125.2 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.198, allocations: 434.8 kB / 0.9017 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.1982, allocations: 160.3 kB / 0.9019 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.188e-05/0.1983, allocations: 95.62 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.1986, allocations: 139.5 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1986, allocations: 16 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.1988, allocations: 199.6 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.1989, allocations: 67.8 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.199, allocations: 107.5 kB / 0.9025 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1992, allocations: 247.3 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1992, allocations: 4 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1993, allocations: 0 / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1993, allocations: 0 / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005925/0.1999, allocations: 499.1 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1999, allocations: 8.031 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.2004, allocations: 80.58 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.2007, allocations: 232 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2007, allocations: 16.75 kB / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.2007, allocations: 16.38 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.2011, allocations: 311.5 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2011, allocations: 0 / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2011, allocations: 12 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.2012, allocations: 12.38 kB / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.2015, allocations: 200.9 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.2026, allocations: 1.468 MB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.2028, allocations: 175.7 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.2029, allocations: 32.84 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.2029, allocations: 0 / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2029, allocations: 34.62 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.81e-07/0.2029, allocations: 4 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004111/0.2033, allocations: 231.6 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.2034, allocations: 55.41 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2035, allocations: 190.4 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2035, allocations: 29.7 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.2036, allocations: 163.6 kB / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.2036, allocations: 31.78 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.2037, allocations: 17.72 kB / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.2037, allocations: 326.8 kB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.2038, allocations: 39.98 kB / 0.9067 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.2038, allocations: 104.4 kB / 0.9068 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.204, allocations: 144.4 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.204, allocations: 4 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002417/0.2042, allocations: 190.1 kB / 0.9072 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2043, allocations: 7.938 kB / 0.9072 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2043, allocations: 4.078 kB / 0.9072 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.2044, allocations: 25.12 kB / 0.9072 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.2045, allocations: 35.92 kB / 0.9072 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000709/0.2052, allocations: 1.315 MB / 0.9085 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2054, allocations: 24 kB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2054, allocations: 4 kB / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.241e-05/0.2055, allocations: 149.7 kB / 0.9087 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.2055, allocations: 19.75 kB / 0.9087 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.2055, allocations: 17.39 kB / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2056, allocations: 0 / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2056, allocations: 0 / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2056, allocations: 4 kB / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.2059, allocations: 443.2 kB / 0.9092 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.206, allocations: 0 / 0.9092 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.206, allocations: 15.94 kB / 0.9092 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.694e-05/0.2061, allocations: 16.84 kB / 0.9092 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2061, allocations: 8.047 kB / 0.9092 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.2067, allocations: 1.315 MB / 0.9105 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2067, allocations: 3.938 kB / 0.9105 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.2069, allocations: 204.4 kB / 0.9107 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.2069, allocations: 100.9 kB / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2069, allocations: 3.938 kB / 0.9108 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2071, allocations: 8 kB / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.2071, allocations: 7.984 kB / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2071, allocations: 0 / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.965e-05/0.2072, allocations: 156.1 kB / 0.9109 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2072, allocations: 4 kB / 0.9109 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002805/0.2075, allocations: 51.84 kB / 0.911 GB, free: 52.72 MB / 0.6042 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.678e-05/0.2076, allocations: 95.25 kB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.2079, allocations: 206.5 kB / 0.9113 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2079, allocations: 0.5625 kB / 0.9113 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.208, allocations: 150.7 kB / 0.9114 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2083, allocations: 36.38 kB / 0.9115 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.2088, allocations: 483 kB / 0.9119 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.209, allocations: 0.7439 MB / 0.9127 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.2091, allocations: 15.44 kB / 0.9127 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2091, allocations: 0 / 0.9127 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.003632/0.2127, allocations: 2.94 MB / 0.9155 GB, free: 47.99 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)