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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009888, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001174/0.001174, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 252 MB / 0.5102 GB, free: 4.836 MB / 414.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.0005216/0.0005217, allocations: 12 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5806, allocations: 106.3 MB / 0.7281 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005636/0.5864, allocations: 3.814 MB / 0.7319 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.5894, allocations: 1.751 MB / 0.7336 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.5896, allocations: 11.94 kB / 0.7336 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.5899, allocations: 63.48 kB / 0.7336 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.5905, allocations: 206.9 kB / 0.7338 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.591, allocations: 187.6 kB / 0.734 GB, free: 5.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007002/0.5917, allocations: 0.6852 MB / 0.7347 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005065/0.5922, allocations: 384.9 kB / 0.7351 GB, free: 4.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.5925, allocations: 199.3 kB / 0.7352 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.593, allocations: 259 kB / 0.7355 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.593, allocations: 20 kB / 0.7355 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.5933, allocations: 123.8 kB / 0.7356 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.5934, allocations: 127.7 kB / 0.7357 GB, free: 3.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.403e-05/0.5935, allocations: 101.5 kB / 0.7358 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.5941, allocations: 453 kB / 0.7363 GB, free: 3.168 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.5941, allocations: 0 / 0.7363 GB, free: 3.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5941, allocations: 0 / 0.7363 GB, free: 3.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.5941, allocations: 0 / 0.7363 GB, free: 3.168 MB / 0.545 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.001119/0.5952, allocations: 0.6666 MB / 0.7369 GB, free: 2.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5953, allocations: 12.03 kB / 0.7369 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009435/0.5962, allocations: 155.3 kB / 0.7371 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.5967, allocations: 325.2 kB / 0.7374 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.5967, allocations: 25 kB / 0.7374 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.5968, allocations: 32 kB / 0.7375 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.5977, allocations: 0.5275 MB / 0.738 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5977, allocations: 0 / 0.738 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.5977, allocations: 16 kB / 0.738 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.5978, allocations: 32.64 kB / 0.738 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.5984, allocations: 386.2 kB / 0.7384 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.601, allocations: 2.415 MB / 0.7407 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.6015, allocations: 258.8 kB / 0.741 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.6017, allocations: 116.7 kB / 0.7411 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.6017, allocations: 4 kB / 0.7411 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.6018, allocations: 42.56 kB / 0.7411 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.6018, allocations: 0 / 0.7411 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.00212/0.6039, allocations: 1.12 MB / 0.7422 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6039, allocations: 55.41 kB / 0.7423 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.6043, allocations: 296.5 kB / 0.7426 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.6043, allocations: 29.7 kB / 0.7426 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.6045, allocations: 231.6 kB / 0.7428 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.6045, allocations: 82.83 kB / 0.7429 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.6046, allocations: 12 kB / 0.7429 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6047, allocations: 338.8 kB / 0.7432 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.6049, allocations: 104.5 kB / 0.7433 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.6051, allocations: 183.8 kB / 0.7435 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.6054, allocations: 130.5 kB / 0.7436 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6054, allocations: 7.938 kB / 0.7436 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007073/0.6061, allocations: 438 kB / 0.7441 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6061, allocations: 12.3 kB / 0.7441 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6061, allocations: 11.94 kB / 0.7441 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/0.6065, allocations: 90.5 kB / 0.7442 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.6067, allocations: 63.91 kB / 0.7442 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.6099, allocations: 4.076 MB / 0.7482 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.6101, allocations: 8 kB / 0.7482 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.6102, allocations: 15.94 kB / 0.7482 GB, free: 5.934 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.6104, allocations: 181.8 kB / 0.7484 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.6105, allocations: 35.58 kB / 0.7484 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.6106, allocations: 46.31 kB / 0.7485 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6106, allocations: 0 / 0.7485 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.6106, allocations: 4 kB / 0.7485 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6106, allocations: 3.984 kB / 0.7485 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.6111, allocations: 397.4 kB / 0.7489 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6111, allocations: 0 / 0.7489 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.6113, allocations: 35.94 kB / 0.7489 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.6115, allocations: 94.44 kB / 0.749 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.6116, allocations: 4 kB / 0.749 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.6145, allocations: 4.064 MB / 0.753 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6145, allocations: 3.984 kB / 0.753 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.6153, allocations: 0.5508 MB / 0.7535 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.6154, allocations: 128.7 kB / 0.7536 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.6155, allocations: 4 kB / 0.7536 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.6156, allocations: 15.98 kB / 0.7537 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.6157, allocations: 19.86 kB / 0.7537 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.6157, allocations: 11.94 kB / 0.7537 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002266/0.616, allocations: 211.1 kB / 0.7539 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.616, allocations: 0 / 0.7539 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004664/0.6164, allocations: 100 kB / 0.754 GB, free: 15.54 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.6166, allocations: 99.25 kB / 0.7541 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008097/0.6174, allocations: 0.6055 MB / 0.7547 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6174, allocations: 0 / 0.7547 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.6179, allocations: 476.2 kB / 0.7551 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.6184, allocations: 71.88 kB / 0.7552 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.6196, allocations: 0.8496 MB / 0.756 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.62, allocations: 0.8347 MB / 0.7568 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.6202, allocations: 66.91 kB / 0.7569 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.6203, allocations: 27.38 kB / 0.7569 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6203, allocations: 0 / 0.7569 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of Templates: time 0.007858/0.6282, allocations: 4.104 MB / 0.7609 GB, free: 8.32 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: