Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001211/0.001211, allocations: 174.5 kB / 326.5 MB, free: 2.691 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.654/1.654, allocations: 205 MB / 0.5766 GB, free: 20.91 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.0007366/0.0007366, allocations: 86.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003105, allocations: 9.125 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.0038/0.2078, allocations: 4.036 MB / 0.9007 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.2103, allocations: 1.89 MB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.2106, allocations: 11.94 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.2119, allocations: 0.5412 MB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.2124, allocations: 250.8 kB / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.213, allocations: 225.5 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.2136, allocations: 0.8413 MB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003878/0.214, allocations: 310.9 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.2141, allocations: 199.1 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.2145, allocations: 267 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.2146, allocations: 20 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.215, allocations: 303.3 kB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2151, allocations: 139.6 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.2153, allocations: 191 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.2156, allocations: 470.8 kB / 0.9062 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.2157, allocations: 0 / 0.9062 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2157, allocations: 0 / 0.9062 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2157, allocations: 0 / 0.9062 GB, free: 58.47 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009473/0.2166, allocations: 0.659 MB / 0.9068 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2167, allocations: 8.031 kB / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008866/0.2176, allocations: 156.3 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.2179, allocations: 330.4 kB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.218, allocations: 29.38 kB / 0.9073 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.218, allocations: 28.38 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.2186, allocations: 0.5395 MB / 0.9078 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2186, allocations: 4 kB / 0.9079 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.2187, allocations: 16 kB / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.2187, allocations: 28.64 kB / 0.9079 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.2192, allocations: 386.3 kB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.2211, allocations: 2.423 MB / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.2216, allocations: 262.5 kB / 0.9109 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.2217, allocations: 108.8 kB / 0.911 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2217, allocations: 4 kB / 0.911 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2218, allocations: 34.56 kB / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.2218, allocations: 4 kB / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001803/0.2236, allocations: 1.133 MB / 0.9121 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.2236, allocations: 55.41 kB / 0.9122 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.2238, allocations: 304.4 kB / 0.9125 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2239, allocations: 29.7 kB / 0.9125 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.224, allocations: 227.6 kB / 0.9127 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.224, allocations: 86.78 kB / 0.9128 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.2241, allocations: 29.7 kB / 0.9128 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.2241, allocations: 338.8 kB / 0.9132 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2243, allocations: 104.6 kB / 0.9133 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2245, allocations: 192.4 kB / 0.9134 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2248, allocations: 318.3 kB / 0.9137 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2248, allocations: 0 / 0.9137 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005948/0.2254, allocations: 441.9 kB / 0.9142 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2254, allocations: 8 kB / 0.9142 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2254, allocations: 3.984 kB / 0.9142 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/0.2258, allocations: 106.5 kB / 0.9143 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.226, allocations: 63.91 kB / 0.9143 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.2281, allocations: 4.072 MB / 0.9183 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.2284, allocations: 8 kB / 0.9183 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.2284, allocations: 12 kB / 0.9183 GB, free: 44.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 31 * 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): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.2286, allocations: 186.5 kB / 0.9185 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.2286, allocations: 31.62 kB / 0.9185 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.2287, allocations: 38.31 kB / 0.9186 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2287, allocations: 4 kB / 0.9186 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2287, allocations: 0 / 0.9186 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2287, allocations: 0 / 0.9186 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.2291, allocations: 401.3 kB / 0.919 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2291, allocations: 7.938 kB / 0.919 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.2293, allocations: 35.97 kB / 0.919 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.2296, allocations: 90.5 kB / 0.9191 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2296, allocations: 12 kB / 0.9191 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.2316, allocations: 4.068 MB / 0.9231 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2316, allocations: 0 / 0.9231 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/0.2323, allocations: 0.5544 MB / 0.9236 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2324, allocations: 128.8 kB / 0.9237 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2325, allocations: 0 / 0.9237 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2327, allocations: 12 kB / 0.9237 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.2327, allocations: 24.03 kB / 0.9238 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2327, allocations: 7.938 kB / 0.9238 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001666/0.2329, allocations: 215.1 kB / 0.924 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2329, allocations: 0 / 0.924 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000418/0.2333, allocations: 96 kB / 0.9241 GB, free: 38.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.2334, allocations: 107.1 kB / 0.9242 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006855/0.2341, allocations: 0.6124 MB / 0.9248 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2342, allocations: 0 / 0.9248 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.2345, allocations: 476.6 kB / 0.9252 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.235, allocations: 77.73 kB / 0.9253 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.236, allocations: 0.9036 MB / 0.9262 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.2363, allocations: 0.8309 MB / 0.927 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.2364, allocations: 23.44 kB / 0.927 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2364, allocations: 0 / 0.927 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.008336/0.2448, allocations: 8.607 MB / 0.9354 GB, free: 26.84 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)