Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 104.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.3 MB / 0.5495 GB, free: 17.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2455, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.3746/0.6201, allocations: 4.314 MB / 0.7882 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.6228, allocations: 1.871 MB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.623, allocations: 14.25 kB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.6244, allocations: 0.5827 MB / 0.7906 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.6249, allocations: 270.4 kB / 0.7909 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.6255, allocations: 248.4 kB / 0.7911 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.626, allocations: 0.6081 MB / 0.7917 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.6265, allocations: 463.1 kB / 0.7922 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.6268, allocations: 249.3 kB / 0.7924 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.6271, allocations: 268.9 kB / 0.7927 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.6272, allocations: 38.62 kB / 0.7927 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.6276, allocations: 253.3 kB / 0.7929 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.6277, allocations: 156.4 kB / 0.7931 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.6279, allocations: 214.2 kB / 0.7933 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.6284, allocations: 0.6077 MB / 0.7939 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6284, allocations: 3.25 kB / 0.7939 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6284, allocations: 0.5625 kB / 0.7939 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.6284, allocations: 0.5312 kB / 0.7939 GB, free: 45.54 MB / 0.6544 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.001034/0.6295, allocations: 0.7236 MB / 0.7946 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.6295, allocations: 6.875 kB / 0.7946 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.6304, allocations: 150.1 kB / 0.7948 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.6308, allocations: 328.5 kB / 0.7951 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.6308, allocations: 32.2 kB / 0.7951 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.6309, allocations: 31.06 kB / 0.7951 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.6315, allocations: 0.531 MB / 0.7956 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.6315, allocations: 6.625 kB / 0.7957 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.6315, allocations: 17.03 kB / 0.7957 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.6316, allocations: 33.86 kB / 0.7957 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.6321, allocations: 382.3 kB / 0.7961 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.6341, allocations: 2.413 MB / 0.7984 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.6346, allocations: 263 kB / 0.7987 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.6347, allocations: 114.2 kB / 0.7988 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.6348, allocations: 2.5 kB / 0.7988 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.6348, allocations: 33.72 kB / 0.7988 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.6348, allocations: 0 / 0.7988 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001923/0.6367, allocations: 1.123 MB / 0.7999 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.6368, allocations: 54.56 kB / 0.8 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.637, allocations: 303.1 kB / 0.8003 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.6371, allocations: 31.61 kB / 0.8003 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.6372, allocations: 234.9 kB / 0.8005 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.6372, allocations: 81.34 kB / 0.8006 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.6373, allocations: 66 kB / 0.8007 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.6374, allocations: 340.3 kB / 0.801 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.6376, allocations: 104 kB / 0.8011 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.6378, allocations: 185.9 kB / 0.8013 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.6381, allocations: 316.6 kB / 0.8016 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6381, allocations: 1.875 kB / 0.8016 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006807/0.6388, allocations: 441.5 kB / 0.802 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6388, allocations: 8.719 kB / 0.802 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6389, allocations: 2.875 kB / 0.802 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.6393, allocations: 97.66 kB / 0.8021 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.6395, allocations: 65.69 kB / 0.8021 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.6424, allocations: 4.398 MB / 0.8064 GB, free: 36.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.6428, allocations: 8.797 kB / 0.8064 GB, free: 36.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.6428, allocations: 21.47 kB / 0.8065 GB, free: 36.41 MB / 0.6544 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.0003052/0.6432, allocations: 175.5 kB / 0.8066 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.6432, allocations: 40.08 kB / 0.8067 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.6433, allocations: 38.45 kB / 0.8067 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6433, allocations: 2.25 kB / 0.8067 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.6434, allocations: 1.797 kB / 0.8067 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6434, allocations: 2.547 kB / 0.8067 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.6441, allocations: 400.6 kB / 0.8071 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6441, allocations: 0 / 0.8071 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.6443, allocations: 36.56 kB / 0.8071 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.6448, allocations: 98.84 kB / 0.8072 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6448, allocations: 3.438 kB / 0.8072 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.6474, allocations: 4.397 MB / 0.8115 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6474, allocations: 0 / 0.8115 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.6484, allocations: 0.5599 MB / 0.8121 GB, free: 31.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.6485, allocations: 124 kB / 0.8122 GB, free: 31.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.6486, allocations: 6.984 kB / 0.8122 GB, free: 31.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.6488, allocations: 10.83 kB / 0.8122 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.6488, allocations: 15.09 kB / 0.8122 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.6489, allocations: 10.69 kB / 0.8122 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002461/0.6491, allocations: 211.5 kB / 0.8124 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6491, allocations: 0 / 0.8124 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005493/0.6497, allocations: 107.9 kB / 0.8125 GB, free: 31 MB / 0.6544 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.0001247/0.6498, allocations: 102.5 kB / 0.8126 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009191/0.6507, allocations: 0.6287 MB / 0.8132 GB, free: 30.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6507, allocations: 0.6562 kB / 0.8132 GB, free: 30.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004597/0.6512, allocations: 471.2 kB / 0.8137 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.6518, allocations: 84.81 kB / 0.8138 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.6531, allocations: 0.7659 MB / 0.8145 GB, free: 29.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.6535, allocations: 0.8344 MB / 0.8153 GB, free: 28.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.6536, allocations: 25.88 kB / 0.8154 GB, free: 28.89 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/0.6536, allocations: 0 / 0.8154 GB, free: 28.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.01469/0.6683, allocations: 8.656 MB / 0.8238 GB, free: 28.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)