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.001166/0.001165, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001301/0.001301, allocations: 198.5 kB / 16.91 MB, free: 6.195 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.473/1.473, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.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.744/1.744, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001542/0.001542, allocations: 68.78 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2291, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005697/0.2348, allocations: 4.369 MB / 0.7878 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.2376, allocations: 1.851 MB / 0.7896 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.2378, allocations: 8 kB / 0.7896 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.2393, allocations: 0.5632 MB / 0.7901 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005272/0.2399, allocations: 238.9 kB / 0.7904 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.2405, allocations: 231.5 kB / 0.7906 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.2411, allocations: 0.6151 MB / 0.7912 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007474/0.2418, allocations: 0.503 MB / 0.7917 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.2421, allocations: 247.2 kB / 0.7919 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/0.2425, allocations: 282.9 kB / 0.7922 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.2426, allocations: 40 kB / 0.7922 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.243, allocations: 259.4 kB / 0.7925 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2431, allocations: 143.6 kB / 0.7926 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2433, allocations: 219 kB / 0.7928 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.2438, allocations: 478.9 kB / 0.7933 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2438, allocations: 4 kB / 0.7933 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2438, allocations: 0 / 0.7933 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.2439, allocations: 4 kB / 0.7933 GB, free: 3.859 MB / 0.6075 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.001167/0.245, allocations: 0.7213 MB / 0.794 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2451, allocations: 12.03 kB / 0.794 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009515/0.246, allocations: 148.2 kB / 0.7941 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.2464, allocations: 326.5 kB / 0.7944 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.2465, allocations: 25.38 kB / 0.7945 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.2465, allocations: 32.38 kB / 0.7945 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.2473, allocations: 0.5356 MB / 0.795 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2473, allocations: 11.92 kB / 0.795 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.2473, allocations: 12 kB / 0.795 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.2474, allocations: 32.64 kB / 0.7951 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.2479, allocations: 386.3 kB / 0.7954 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.2503, allocations: 2.403 MB / 0.7978 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.2508, allocations: 266.5 kB / 0.7981 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.2509, allocations: 112.8 kB / 0.7982 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.251, allocations: 4 kB / 0.7982 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.251, allocations: 38.5 kB / 0.7982 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.251, allocations: 0 / 0.7982 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.00207/0.2531, allocations: 1.132 MB / 0.7993 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2531, allocations: 55.41 kB / 0.7994 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.2534, allocations: 300.5 kB / 0.7996 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2535, allocations: 29.7 kB / 0.7997 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2536, allocations: 227.6 kB / 0.7999 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.2537, allocations: 82.75 kB / 0.8 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.2538, allocations: 58.03 kB / 0.8 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2539, allocations: 338.8 kB / 0.8003 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.254, allocations: 104.6 kB / 0.8004 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.2543, allocations: 191.8 kB / 0.8006 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.2546, allocations: 319.4 kB / 0.8009 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2547, allocations: 0 / 0.8009 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007001/0.2554, allocations: 449.8 kB / 0.8014 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2554, allocations: 11.88 kB / 0.8014 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2554, allocations: 4 kB / 0.8014 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.2558, allocations: 94.69 kB / 0.8015 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.256, allocations: 63.91 kB / 0.8015 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.2591, allocations: 4.399 MB / 0.8058 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.2593, allocations: 12.16 kB / 0.8058 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.2594, allocations: 16 kB / 0.8059 GB, free: 5.949 MB / 0.6231 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.0002052/0.2596, allocations: 177.7 kB / 0.806 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.2596, allocations: 35.56 kB / 0.8061 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.2597, allocations: 38.31 kB / 0.8061 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2597, allocations: 0 / 0.8061 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2597, allocations: 8 kB / 0.8061 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2597, allocations: 3.984 kB / 0.8061 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.2602, allocations: 393.4 kB / 0.8065 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2602, allocations: 0 / 0.8065 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.2604, allocations: 43.84 kB / 0.8065 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.2607, allocations: 94.5 kB / 0.8066 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2607, allocations: 4 kB / 0.8066 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.2636, allocations: 4.387 MB / 0.8109 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2637, allocations: 4.141 kB / 0.8109 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007824/0.2645, allocations: 0.558 MB / 0.8114 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2646, allocations: 124.7 kB / 0.8116 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.2646, allocations: 4 kB / 0.8116 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2648, allocations: 20.05 kB / 0.8116 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.2649, allocations: 11.98 kB / 0.8116 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.2649, allocations: 12 kB / 0.8116 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001921/0.2651, allocations: 211.1 kB / 0.8118 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2651, allocations: 0 / 0.8118 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004705/0.2656, allocations: 103.9 kB / 0.8119 GB, free: 15.21 MB / 0.6387 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.0001294/0.2657, allocations: 107.8 kB / 0.812 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008348/0.2666, allocations: 0.629 MB / 0.8126 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2666, allocations: 4.25 kB / 0.8126 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.2671, allocations: 468 kB / 0.8131 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.2676, allocations: 79.67 kB / 0.8132 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2688, allocations: 0.9131 MB / 0.814 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.2691, allocations: 0.8311 MB / 0.8149 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.2692, allocations: 27.38 kB / 0.8149 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2692, allocations: 0 / 0.8149 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of Templates: time 0.01023/0.2795, allocations: 8.66 MB / 0.8233 GB, free: 3.387 MB / 0.6387 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)