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.001519/0.00152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002217/0.002218, allocations: 190.5 kB / 16.25 MB, free: 6.625 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.598/1.598, allocations: 205.1 MB / 222.1 MB, free: 4.918 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.582/1.582, allocations: 251.6 MB / 0.5089 GB, free: 3.328 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.001555/0.001555, allocations: 63.91 kB / 0.6217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.5854, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004571/0.59, allocations: 3.127 MB / 0.727 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.592, allocations: 1.329 MB / 0.7283 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.5922, allocations: 7.938 kB / 0.7283 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.5932, allocations: 318.9 kB / 0.7286 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.5935, allocations: 131.4 kB / 0.7288 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.5938, allocations: 126.3 kB / 0.7289 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.5942, allocations: 303 kB / 0.7292 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.5946, allocations: 254.2 kB / 0.7294 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.5948, allocations: 131.5 kB / 0.7295 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.595, allocations: 147.5 kB / 0.7297 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.5951, allocations: 16 kB / 0.7297 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.5954, allocations: 163.7 kB / 0.7299 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.5955, allocations: 83.78 kB / 0.7299 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.5956, allocations: 111.5 kB / 0.73 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.5961, allocations: 338.9 kB / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.5961, allocations: 0 / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5961, allocations: 0 / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.5961, allocations: 4 kB / 0.7304 GB, free: 6.535 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.0009604/0.5971, allocations: 0.5224 MB / 0.7309 GB, free: 5.961 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5971, allocations: 8.031 kB / 0.7309 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006465/0.5978, allocations: 76.59 kB / 0.731 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.5981, allocations: 239.9 kB / 0.7312 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.5981, allocations: 24.73 kB / 0.7312 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.5982, allocations: 16.38 kB / 0.7312 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.5987, allocations: 291.5 kB / 0.7315 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5987, allocations: 4 kB / 0.7315 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.5987, allocations: 8 kB / 0.7315 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.5988, allocations: 16.36 kB / 0.7315 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.5991, allocations: 197 kB / 0.7317 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.6007, allocations: 1.472 MB / 0.7332 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.601, allocations: 175.7 kB / 0.7333 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.6011, allocations: 32.84 kB / 0.7334 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.6011, allocations: 0 / 0.7334 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.6011, allocations: 30.56 kB / 0.7334 GB, free: 3.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.6011, allocations: 0 / 0.7334 GB, free: 3.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004912/0.6016, allocations: 227.4 kB / 0.7336 GB, free: 2.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.6017, allocations: 55.34 kB / 0.7337 GB, free: 2.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.6019, allocations: 195.9 kB / 0.7338 GB, free: 2.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6019, allocations: 29.7 kB / 0.7339 GB, free: 2.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.602, allocations: 163.8 kB / 0.734 GB, free: 2.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.602, allocations: 27.64 kB / 0.7341 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.6021, allocations: 37.61 kB / 0.7341 GB, free: 2.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6023, allocations: 334.8 kB / 0.7344 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.6023, allocations: 35.92 kB / 0.7344 GB, free: 1.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.6024, allocations: 102.4 kB / 0.7345 GB, free: 1.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.6026, allocations: 152.4 kB / 0.7347 GB, free: 1.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6026, allocations: 0 / 0.7347 GB, free: 1.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002828/0.6029, allocations: 186.1 kB / 0.7349 GB, free: 1.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6029, allocations: 8 kB / 0.7349 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.603, allocations: 4 kB / 0.7349 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.6032, allocations: 29.19 kB / 0.7349 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.6033, allocations: 27.98 kB / 0.7349 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.6045, allocations: 1.422 MB / 0.7363 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.6046, allocations: 19.81 kB / 0.7363 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.6046, allocations: 7.938 kB / 0.7363 GB, free: 15.81 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.000138/0.6048, allocations: 153.9 kB / 0.7365 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.6048, allocations: 15.81 kB / 0.7365 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.6049, allocations: 21.39 kB / 0.7365 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6049, allocations: 4 kB / 0.7365 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6049, allocations: 0 / 0.7365 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6049, allocations: 0 / 0.7365 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.6054, allocations: 443.2 kB / 0.737 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6054, allocations: 0 / 0.737 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.6054, allocations: 8 kB / 0.737 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-05/0.6055, allocations: 28.84 kB / 0.737 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.6055, allocations: 0 / 0.737 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009791/0.6065, allocations: 1.41 MB / 0.7384 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6065, allocations: 0 / 0.7384 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.6068, allocations: 224.2 kB / 0.7386 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.6069, allocations: 100.9 kB / 0.7387 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.6069, allocations: 96 / 0.7387 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.607, allocations: 11.94 kB / 0.7387 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.607, allocations: 7.984 kB / 0.7387 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.607, allocations: 0 / 0.7387 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001167/0.6072, allocations: 151.2 kB / 0.7388 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6072, allocations: 0 / 0.7388 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003118/0.6075, allocations: 51.84 kB / 0.7389 GB, free: 12.96 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.0001245/0.6076, allocations: 99.25 kB / 0.739 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.608, allocations: 218.5 kB / 0.7392 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.608, allocations: 7.938 kB / 0.7392 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.6081, allocations: 151.1 kB / 0.7393 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.6085, allocations: 36.59 kB / 0.7394 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.6092, allocations: 422.9 kB / 0.7398 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.6095, allocations: 0.7552 MB / 0.7405 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.567e-05/0.6096, allocations: 21.55 kB / 0.7405 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.6097, allocations: 19.38 kB / 0.7406 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.6097, allocations: 0 / 0.7406 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.004351/0.6141, allocations: 1.754 MB / 0.7423 GB, free: 9.43 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (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)