Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 84.38 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.001009/0.001009, 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.606/1.606, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.552/1.552, allocations: 252 MB / 0.5102 GB, free: 4.844 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.0005186/0.0005186, allocations: 16 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5536, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004061/0.5577, allocations: 2.66 MB / 0.7307 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.5602, allocations: 1.256 MB / 0.7319 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.5604, allocations: 4 kB / 0.732 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.5607, allocations: 31.72 kB / 0.732 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.5612, allocations: 115.4 kB / 0.7321 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.5615, allocations: 95.8 kB / 0.7322 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.562, allocations: 346.9 kB / 0.7325 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.5624, allocations: 211.9 kB / 0.7327 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.5626, allocations: 103.6 kB / 0.7328 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.5629, allocations: 135.5 kB / 0.7329 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.563, allocations: 12 kB / 0.733 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.5632, allocations: 79.88 kB / 0.733 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.5633, allocations: 71.8 kB / 0.7331 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.5634, allocations: 61.58 kB / 0.7332 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.5638, allocations: 249.3 kB / 0.7334 GB, free: 5.988 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.5638, allocations: 7.938 kB / 0.7334 GB, free: 5.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5638, allocations: 0 / 0.7334 GB, free: 5.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5639, allocations: 0 / 0.7334 GB, free: 5.98 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008914/0.5648, allocations: 490.5 kB / 0.7339 GB, free: 5.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5648, allocations: 8.031 kB / 0.7339 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.5654, allocations: 83.59 kB / 0.734 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.5657, allocations: 238.7 kB / 0.7342 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.5658, allocations: 16.38 kB / 0.7342 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.5658, allocations: 20 kB / 0.7342 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.5663, allocations: 291.1 kB / 0.7345 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5663, allocations: 0 / 0.7345 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.5663, allocations: 8 kB / 0.7345 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.5664, allocations: 24.31 kB / 0.7345 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.5667, allocations: 204.6 kB / 0.7347 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.5683, allocations: 1.456 MB / 0.7361 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.5687, allocations: 179.7 kB / 0.7363 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.5687, allocations: 32.84 kB / 0.7364 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.5687, allocations: 4 kB / 0.7364 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.5688, allocations: 30.56 kB / 0.7364 GB, free: 2.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.5688, allocations: 0 / 0.7364 GB, free: 2.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005325/0.5693, allocations: 235.5 kB / 0.7366 GB, free: 2.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.5694, allocations: 51.41 kB / 0.7367 GB, free: 2.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.5696, allocations: 195 kB / 0.7368 GB, free: 2.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.5696, allocations: 25.7 kB / 0.7369 GB, free: 2.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.5698, allocations: 171.5 kB / 0.737 GB, free: 1.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.5698, allocations: 19.66 kB / 0.7371 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.5698, allocations: 4 kB / 0.7371 GB, free: 1.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.57, allocations: 326.8 kB / 0.7374 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-05/0.5701, allocations: 39.97 kB / 0.7374 GB, free: 1.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5702, allocations: 98.39 kB / 0.7375 GB, free: 1.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.5703, allocations: 51.92 kB / 0.7375 GB, free: 1.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5703, allocations: 0 / 0.7375 GB, free: 1.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002942/0.5706, allocations: 198.3 kB / 0.7377 GB, free: 1.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5706, allocations: 4 kB / 0.7377 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.5706, allocations: 8 kB / 0.7377 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.5708, allocations: 24.84 kB / 0.7378 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.5709, allocations: 23.98 kB / 0.7378 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.5721, allocations: 1.319 MB / 0.7391 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.5722, allocations: 15.75 kB / 0.7391 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.5723, allocations: 12 kB / 0.7391 GB, free: 15.58 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.5724, allocations: 149.9 kB / 0.7393 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.5725, allocations: 15.86 kB / 0.7393 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.5725, allocations: 25.33 kB / 0.7393 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5725, allocations: 0 / 0.7393 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5725, allocations: 0 / 0.7393 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5725, allocations: 0 / 0.7393 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.5731, allocations: 451.1 kB / 0.7397 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5731, allocations: 4 kB / 0.7397 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.5731, allocations: 4 kB / 0.7397 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.19e-05/0.5732, allocations: 24.84 kB / 0.7398 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.5732, allocations: 0 / 0.7398 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009668/0.5742, allocations: 1.316 MB / 0.741 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5742, allocations: 0 / 0.741 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.5745, allocations: 212.1 kB / 0.7412 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.5746, allocations: 100.8 kB / 0.7413 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.5746, allocations: 4.094 kB / 0.7413 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5747, allocations: 7.984 kB / 0.7413 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.5747, allocations: 4 kB / 0.7414 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5747, allocations: 3.953 kB / 0.7414 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001328/0.5749, allocations: 152.1 kB / 0.7415 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5749, allocations: 0 / 0.7415 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003515/0.5752, allocations: 47.91 kB / 0.7415 GB, free: 12.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.5754, allocations: 107.2 kB / 0.7416 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.5759, allocations: 210.5 kB / 0.7418 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5759, allocations: 0 / 0.7418 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.5761, allocations: 150.6 kB / 0.742 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.5765, allocations: 33.58 kB / 0.742 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.5772, allocations: 423.3 kB / 0.7424 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.5776, allocations: 0.7517 MB / 0.7432 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.94e-05/0.5777, allocations: 29.52 kB / 0.7432 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.5777, allocations: 15.44 kB / 0.7432 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.5777, allocations: 0 / 0.7432 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.004733/0.5825, allocations: 1.616 MB / 0.7448 GB, free: 9.457 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) Environment - environmentSimulation: