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.0009257/0.0009257, allocations: 90.83 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.00703/0.00703, allocations: 169.3 kB / 16.26 MB, free: 6.68 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.671/1.671, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.579/1.579, allocations: 252 MB / 0.5105 GB, free: 4.664 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.000584/0.0005841, allocations: 16.56 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5507, allocations: 106.3 MB / 0.7287 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003561/0.5543, allocations: 2.753 MB / 0.7314 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.5564, allocations: 1.321 MB / 0.7327 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.5565, allocations: 7.938 kB / 0.7327 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.5567, allocations: 35.72 kB / 0.7327 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.5571, allocations: 131.4 kB / 0.7329 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.5574, allocations: 135.7 kB / 0.733 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.5579, allocations: 430.8 kB / 0.7334 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.5582, allocations: 229.4 kB / 0.7336 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.5584, allocations: 103.6 kB / 0.7337 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.5587, allocations: 135.5 kB / 0.7338 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.5587, allocations: 8 kB / 0.7339 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.559, allocations: 199.6 kB / 0.734 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.5592, allocations: 79.78 kB / 0.7341 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.5593, allocations: 121.2 kB / 0.7342 GB, free: 5.668 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.5597, allocations: 340.8 kB / 0.7346 GB, free: 5.336 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5597, allocations: 4 kB / 0.7346 GB, free: 5.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5597, allocations: 0 / 0.7346 GB, free: 5.332 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5597, allocations: 3.938 kB / 0.7346 GB, free: 5.328 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.0007652/0.5605, allocations: 483.2 kB / 0.735 GB, free: 4.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5606, allocations: 12.02 kB / 0.735 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.5612, allocations: 80.59 kB / 0.7351 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.5615, allocations: 243.9 kB / 0.7354 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.5615, allocations: 12.75 kB / 0.7354 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.5616, allocations: 28.3 kB / 0.7354 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.562, allocations: 299.5 kB / 0.7357 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.562, allocations: 4 kB / 0.7357 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.5621, allocations: 4 kB / 0.7357 GB, free: 4.074 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.5621, allocations: 24.36 kB / 0.7357 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.5624, allocations: 192.9 kB / 0.7359 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.5639, allocations: 1.464 MB / 0.7373 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.5642, allocations: 179.7 kB / 0.7375 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.5643, allocations: 28.84 kB / 0.7375 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.5643, allocations: 8 kB / 0.7375 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5643, allocations: 34.56 kB / 0.7376 GB, free: 1.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.5643, allocations: 0 / 0.7376 GB, free: 1.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004851/0.5648, allocations: 223.4 kB / 0.7378 GB, free: 1.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.5649, allocations: 51.41 kB / 0.7378 GB, free: 1.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.5651, allocations: 199 kB / 0.738 GB, free: 1.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.5651, allocations: 29.7 kB / 0.738 GB, free: 1.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.5652, allocations: 163.8 kB / 0.7382 GB, free: 1.242 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.5652, allocations: 27.64 kB / 0.7382 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.5652, allocations: 21.72 kB / 0.7382 GB, free: 1.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5654, allocations: 330.8 kB / 0.7386 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.5655, allocations: 31.98 kB / 0.7386 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.92e-05/0.5656, allocations: 110.1 kB / 0.7387 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.5657, allocations: 140.5 kB / 0.7388 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.5657, allocations: 0 / 0.7388 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000317/0.5661, allocations: 190.3 kB / 0.739 GB, free: 332 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5661, allocations: 11.98 kB / 0.739 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5661, allocations: 4 kB / 0.739 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.5663, allocations: 24.84 kB / 0.7391 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.5664, allocations: 23.94 kB / 0.7391 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.5675, allocations: 1.323 MB / 0.7404 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.5677, allocations: 15.78 kB / 0.7404 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.5677, allocations: 12 kB / 0.7404 GB, free: 14.77 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.5678, allocations: 145.9 kB / 0.7405 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.5679, allocations: 31.7 kB / 0.7406 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.5679, allocations: 17.41 kB / 0.7406 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5679, allocations: 0 / 0.7406 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5679, allocations: 0 / 0.7406 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.5679, allocations: 0 / 0.7406 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.5684, allocations: 447.2 kB / 0.741 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5685, allocations: 0 / 0.741 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.5685, allocations: 11.94 kB / 0.741 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-05/0.5686, allocations: 24.84 kB / 0.741 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.5686, allocations: 0 / 0.741 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009267/0.5696, allocations: 1.312 MB / 0.7423 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5696, allocations: 3.938 kB / 0.7423 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.5698, allocations: 212.6 kB / 0.7425 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.5699, allocations: 100.9 kB / 0.7426 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.5699, allocations: 8.016 kB / 0.7426 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.57, allocations: 8 kB / 0.7426 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.57, allocations: 0 / 0.7426 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.5701, allocations: 8 kB / 0.7426 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001325/0.5702, allocations: 152.1 kB / 0.7428 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5702, allocations: 0 / 0.7428 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003499/0.5706, allocations: 51.84 kB / 0.7428 GB, free: 12.02 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.5707, allocations: 107.2 kB / 0.7429 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.571, allocations: 202.5 kB / 0.7431 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5711, allocations: 0 / 0.7431 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.5712, allocations: 146.7 kB / 0.7433 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.5716, allocations: 40.02 kB / 0.7433 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.5723, allocations: 451.5 kB / 0.7437 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.5727, allocations: 0.7556 MB / 0.7445 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.785e-05/0.5728, allocations: 25.52 kB / 0.7445 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.5728, allocations: 15.44 kB / 0.7445 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.5728, allocations: 0 / 0.7445 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.004406/0.5773, allocations: 1.672 MB / 0.7462 GB, free: 8.574 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: