Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009406/0.009406, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001469/0.001469, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.717/1.717, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.737/1.737, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.001473/0.001473, allocations: 67.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3344, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009543/0.3441, allocations: 6.704 MB / 0.8346 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006649/0.3508, allocations: 3.064 MB / 0.8376 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008398/0.3517, allocations: 23.88 kB / 0.8376 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.3544, allocations: 0.9438 MB / 0.8385 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.356, allocations: 0.5051 MB / 0.839 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3574, allocations: 417.3 kB / 0.8394 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3591, allocations: 1.228 MB / 0.8406 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.3603, allocations: 0.6582 MB / 0.8413 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000611/0.3609, allocations: 470.3 kB / 0.8417 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.3616, allocations: 0.5214 MB / 0.8422 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.105e-05/0.3617, allocations: 72 kB / 0.8423 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008364/0.3625, allocations: 379.2 kB / 0.8426 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.3628, allocations: 311.1 kB / 0.8429 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.3633, allocations: 449.8 kB / 0.8434 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.3647, allocations: 1.211 MB / 0.8446 GB, free: 15.22 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3647, allocations: 0 / 0.8446 GB, free: 15.22 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3647, allocations: 0 / 0.8446 GB, free: 15.22 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.3647, allocations: 0 / 0.8446 GB, free: 15.22 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002331/0.3671, allocations: 1.167 MB / 0.8457 GB, free: 14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/0.3671, allocations: 12.03 kB / 0.8457 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.3689, allocations: 239.6 kB / 0.8459 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3701, allocations: 0.5842 MB / 0.8465 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/0.3702, allocations: 49.67 kB / 0.8466 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.3704, allocations: 68.3 kB / 0.8466 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.3723, allocations: 1.085 MB / 0.8477 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.3723, allocations: 3.938 kB / 0.8477 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.3724, allocations: 43.92 kB / 0.8477 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.3726, allocations: 77.27 kB / 0.8478 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3739, allocations: 0.7543 MB / 0.8485 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006618/0.3806, allocations: 5.878 MB / 0.8543 GB, free: 4.641 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3817, allocations: 0.5492 MB / 0.8548 GB, free: 4.082 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.3822, allocations: 330 kB / 0.8551 GB, free: 3.758 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.3823, allocations: 4.438 kB / 0.8551 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3823, allocations: 46.94 kB / 0.8552 GB, free: 3.699 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 2.875e-06/0.3823, allocations: 0 / 0.8552 GB, free: 3.699 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.004297/0.3866, allocations: 1.979 MB / 0.8571 GB, free: 1.625 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3867, allocations: 63.78 kB / 0.8572 GB, free: 1.551 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.3874, allocations: 0.5585 MB / 0.8577 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.3875, allocations: 33.7 kB / 0.8577 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.3879, allocations: 411 kB / 0.8581 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.388, allocations: 173.6 kB / 0.8583 GB, free: 372 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.3883, allocations: 122.5 kB / 0.8584 GB, free: 240 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.3885, allocations: 378.7 kB / 0.8588 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.389, allocations: 277.8 kB / 0.859 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.3896, allocations: 493 kB / 0.8595 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3907, allocations: 0.8054 MB / 0.8603 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3907, allocations: 4 kB / 0.8603 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001853/0.3926, allocations: 1.087 MB / 0.8614 GB, free: 13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.3926, allocations: 8 kB / 0.8614 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.3926, allocations: 7.984 kB / 0.8614 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009142/0.3935, allocations: 283.5 kB / 0.8616 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.394, allocations: 123.8 kB / 0.8618 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/0.4007, allocations: 7.126 MB / 0.8687 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.4014, allocations: 43.95 kB / 0.8688 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.4015, allocations: 28 kB / 0.8688 GB, free: 4.812 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004275/0.4019, allocations: 261.5 kB / 0.869 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.402, allocations: 71.16 kB / 0.8691 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.4036, allocations: 0.8885 MB / 0.87 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4036, allocations: 8.031 kB / 0.87 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4036, allocations: 8.188 kB / 0.87 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4037, allocations: 7.984 kB / 0.87 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.4062, allocations: 1.721 MB / 0.8717 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4062, allocations: 3.938 kB / 0.8717 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.4065, allocations: 67.81 kB / 0.8718 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/0.4072, allocations: 271.3 kB / 0.872 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.4073, allocations: 8 kB / 0.872 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/0.4138, allocations: 7.111 MB / 0.879 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4138, allocations: 4.078 kB / 0.879 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.4154, allocations: 0.9912 MB / 0.8799 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.4158, allocations: 196.2 kB / 0.8801 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.4159, allocations: 8 kB / 0.8801 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.4162, allocations: 31.91 kB / 0.8802 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4164, allocations: 43.88 kB / 0.8802 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.4164, allocations: 12 kB / 0.8802 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005096/0.4169, allocations: 387.1 kB / 0.8806 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4169, allocations: 4 kB / 0.8806 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009714/0.4179, allocations: 224 kB / 0.8808 GB, free: 7.77 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.4181, allocations: 112.9 kB / 0.8809 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.4202, allocations: 1.271 MB / 0.8821 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4202, allocations: 0 / 0.8821 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.4214, allocations: 0.9052 MB / 0.883 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4225, allocations: 224.2 kB / 0.8832 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.4249, allocations: 1.321 MB / 0.8845 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.4257, allocations: 1.008 MB / 0.8855 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003752/0.4261, allocations: 126 kB / 0.8856 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4262, allocations: 43.44 kB / 0.8857 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/0.4262, allocations: 0 / 0.8857 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of Templates: time 0.02213/0.4484, allocations: 11.31 MB / 0.8967 GB, free: 7.406 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)