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.0007687/0.0007687, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005149/0.005149, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.623/1.623, allocations: 205.4 MB / 222.5 MB, free: 5.77 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.634/1.634, allocations: 252 MB / 0.5105 GB, free: 4.707 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.0005532/0.0005531, allocations: 15.98 kB / 0.6249 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.557, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005218/0.5623, allocations: 3.988 MB / 0.7326 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.5654, allocations: 1.839 MB / 0.7344 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.5657, allocations: 11.94 kB / 0.7344 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.566, allocations: 71.42 kB / 0.7345 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.5666, allocations: 246.9 kB / 0.7347 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.5673, allocations: 235.5 kB / 0.735 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000804/0.5681, allocations: 0.8335 MB / 0.7358 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.5687, allocations: 439.4 kB / 0.7362 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.569, allocations: 195.2 kB / 0.7364 GB, free: 3.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.5694, allocations: 259 kB / 0.7366 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.5695, allocations: 20 kB / 0.7366 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004826/0.57, allocations: 311.3 kB / 0.7369 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.5701, allocations: 135.6 kB / 0.7371 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.5703, allocations: 224.6 kB / 0.7373 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.571, allocations: 0.5975 MB / 0.7379 GB, free: 1.863 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5711, allocations: 0 / 0.7379 GB, free: 1.863 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5711, allocations: 0 / 0.7379 GB, free: 1.863 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.5711, allocations: 0 / 0.7379 GB, free: 1.863 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.001224/0.5723, allocations: 0.6513 MB / 0.7385 GB, free: 1.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5724, allocations: 12.03 kB / 0.7385 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/0.5734, allocations: 148.3 kB / 0.7387 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.5738, allocations: 338.4 kB / 0.739 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.5739, allocations: 21.38 kB / 0.739 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.5739, allocations: 40.36 kB / 0.739 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/0.5749, allocations: 0.5318 MB / 0.7396 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5749, allocations: 0 / 0.7396 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.575, allocations: 16.08 kB / 0.7396 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/0.575, allocations: 32.64 kB / 0.7396 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.5758, allocations: 394.1 kB / 0.74 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.5786, allocations: 2.415 MB / 0.7423 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.5792, allocations: 266.4 kB / 0.7426 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.5794, allocations: 120.4 kB / 0.7427 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.5794, allocations: 0 / 0.7427 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.5795, allocations: 42.56 kB / 0.7427 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.5795, allocations: 0 / 0.7427 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002252/0.5817, allocations: 1.122 MB / 0.7438 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.5818, allocations: 59.41 kB / 0.7439 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.5821, allocations: 296.4 kB / 0.7442 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5822, allocations: 33.7 kB / 0.7442 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.5823, allocations: 227.6 kB / 0.7444 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.5824, allocations: 86.83 kB / 0.7445 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.5825, allocations: 29.7 kB / 0.7445 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5826, allocations: 342.8 kB / 0.7449 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.5828, allocations: 104.6 kB / 0.745 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.583, allocations: 183.8 kB / 0.7451 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.5835, allocations: 329.5 kB / 0.7455 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5835, allocations: 0 / 0.7455 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008449/0.5843, allocations: 445.8 kB / 0.7459 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5844, allocations: 4 kB / 0.7459 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5844, allocations: 4 kB / 0.7459 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.5847, allocations: 94.69 kB / 0.746 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.585, allocations: 67.89 kB / 0.746 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/0.5887, allocations: 4.068 MB / 0.75 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.5889, allocations: 8 kB / 0.75 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.5889, allocations: 8.156 kB / 0.75 GB, free: 4.383 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 (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.0002266/0.5892, allocations: 193.6 kB / 0.7502 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.5892, allocations: 35.62 kB / 0.7502 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.5893, allocations: 38.45 kB / 0.7503 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.5893, allocations: 7.984 kB / 0.7503 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5894, allocations: 7.984 kB / 0.7503 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5894, allocations: 0 / 0.7503 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.5899, allocations: 405.3 kB / 0.7507 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5899, allocations: 0 / 0.7507 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.5901, allocations: 31.98 kB / 0.7507 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.5904, allocations: 90.44 kB / 0.7508 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.5904, allocations: 8 kB / 0.7508 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/0.594, allocations: 4.068 MB / 0.7548 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.594, allocations: 0 / 0.7548 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/0.5948, allocations: 0.5551 MB / 0.7553 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.595, allocations: 128.7 kB / 0.7554 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.595, allocations: 4 kB / 0.7555 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.5952, allocations: 15.98 kB / 0.7555 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.5953, allocations: 27.97 kB / 0.7555 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5953, allocations: 4 kB / 0.7555 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002089/0.5955, allocations: 207.1 kB / 0.7557 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.2e-07/0.5955, allocations: 0 / 0.7557 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004587/0.596, allocations: 100 kB / 0.7558 GB, free: 13.98 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 (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.0001574/0.5962, allocations: 110.5 kB / 0.7559 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009515/0.5971, allocations: 0.5973 MB / 0.7565 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5971, allocations: 4.688 kB / 0.7565 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.5978, allocations: 477.7 kB / 0.7569 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.5983, allocations: 68.55 kB / 0.757 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.5996, allocations: 0.8972 MB / 0.7579 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.6001, allocations: 0.8347 MB / 0.7587 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.6003, allocations: 62.92 kB / 0.7588 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.6004, allocations: 23.44 kB / 0.7588 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of SimCode: time 4.8e-07/0.6004, allocations: 0 / 0.7588 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.008603/0.609, allocations: 4.22 MB / 0.7629 GB, free: 6.594 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: