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.001304/0.001304, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001545/0.001546, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.578/1.578, allocations: 205.1 MB / 222.1 MB, free: 4.578 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.791/1.791, allocations: 292.3 MB / 0.5485 GB, free: 13.62 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.001314/0.001314, allocations: 71.53 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007189/0.2523, allocations: 4.368 MB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003457/0.2558, allocations: 1.851 MB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.2562, allocations: 8 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.258, allocations: 0.5645 MB / 0.7895 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.2586, allocations: 238.9 kB / 0.7897 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.2594, allocations: 231.5 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.26, allocations: 0.6073 MB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000766/0.2608, allocations: 0.5068 MB / 0.791 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.261, allocations: 247.2 kB / 0.7913 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.2615, allocations: 279 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.2616, allocations: 36 kB / 0.7916 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.2621, allocations: 263.4 kB / 0.7918 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2622, allocations: 147.6 kB / 0.7919 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.2625, allocations: 215 kB / 0.7921 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.2633, allocations: 0.623 MB / 0.7928 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2633, allocations: 0 / 0.7928 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2633, allocations: 4 kB / 0.7928 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.2633, allocations: 0 / 0.7928 GB, free: 3.711 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.00139/0.2647, allocations: 0.7213 MB / 0.7935 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.2648, allocations: 16.03 kB / 0.7935 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2659, allocations: 144.2 kB / 0.7936 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2663, allocations: 326.5 kB / 0.7939 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.2663, allocations: 29.31 kB / 0.794 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.2664, allocations: 36.36 kB / 0.794 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.2673, allocations: 0.5318 MB / 0.7945 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.2673, allocations: 0 / 0.7945 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.2673, allocations: 19.97 kB / 0.7945 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.2674, allocations: 32.64 kB / 0.7946 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.2679, allocations: 390.3 kB / 0.7949 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.2705, allocations: 2.403 MB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.271, allocations: 270.3 kB / 0.7975 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2712, allocations: 112.8 kB / 0.7976 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2713, allocations: 0 / 0.7976 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2713, allocations: 42.55 kB / 0.7977 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.2713, allocations: 0 / 0.7977 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002315/0.2736, allocations: 1.124 MB / 0.7988 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.2737, allocations: 59.41 kB / 0.7988 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.274, allocations: 296.5 kB / 0.7991 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2741, allocations: 33.7 kB / 0.7992 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.2743, allocations: 223.6 kB / 0.7994 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.2743, allocations: 90.73 kB / 0.7995 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2744, allocations: 58.03 kB / 0.7995 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2746, allocations: 342.8 kB / 0.7998 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.2748, allocations: 100.6 kB / 0.7999 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.275, allocations: 191.7 kB / 0.8001 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.2753, allocations: 323.5 kB / 0.8004 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2754, allocations: 0 / 0.8004 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000684/0.276, allocations: 441.8 kB / 0.8008 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2761, allocations: 8 kB / 0.8009 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2761, allocations: 0 / 0.8009 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.2765, allocations: 110.6 kB / 0.801 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.2767, allocations: 59.91 kB / 0.801 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.28, allocations: 4.391 MB / 0.8053 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.2803, allocations: 8.188 kB / 0.8053 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.2803, allocations: 20 kB / 0.8053 GB, free: 5.801 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.0002515/0.2806, allocations: 177.7 kB / 0.8055 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.2807, allocations: 35.56 kB / 0.8055 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.2807, allocations: 42.31 kB / 0.8056 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2808, allocations: 4 kB / 0.8056 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.2808, allocations: 0 / 0.8056 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2808, allocations: 7.984 kB / 0.8056 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.2812, allocations: 393.4 kB / 0.806 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2813, allocations: 3.938 kB / 0.806 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.2815, allocations: 39.92 kB / 0.806 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.2818, allocations: 94.44 kB / 0.8061 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2818, allocations: 8 kB / 0.8061 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/0.2848, allocations: 4.384 MB / 0.8104 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2849, allocations: 0 / 0.8104 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.2857, allocations: 0.5585 MB / 0.8109 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2858, allocations: 128.7 kB / 0.8111 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.2859, allocations: 8 kB / 0.8111 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.2861, allocations: 16.05 kB / 0.8111 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.2861, allocations: 15.98 kB / 0.8111 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.2861, allocations: 11.98 kB / 0.8111 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002039/0.2864, allocations: 203.1 kB / 0.8113 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2864, allocations: 0 / 0.8113 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005281/0.2869, allocations: 103.9 kB / 0.8114 GB, free: 15.06 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.0001809/0.2871, allocations: 111.9 kB / 0.8115 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009628/0.2881, allocations: 0.6175 MB / 0.8121 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2881, allocations: 0 / 0.8121 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.2886, allocations: 476 kB / 0.8126 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.2891, allocations: 82.66 kB / 0.8126 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2905, allocations: 0.8649 MB / 0.8135 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.291, allocations: 0.8311 MB / 0.8143 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.2912, allocations: 58.94 kB / 0.8143 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.2913, allocations: 23.44 kB / 0.8144 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.2913, allocations: 0 / 0.8144 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of Templates: time 0.008388/0.2997, allocations: 4.456 MB / 0.8187 GB, free: 7.477 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)