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.01342/0.01342, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002079/0.002079, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.94/1.94, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.642/1.642, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001444/0.001444, allocations: 71.91 kB / 0.7258 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.768/0.7694, allocations: 104.7 MB / 0.828 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01044/0.7799, allocations: 6.708 MB / 0.8346 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007512/0.7876, allocations: 3.052 MB / 0.8376 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.7889, allocations: 27.81 kB / 0.8376 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.7919, allocations: 0.9527 MB / 0.8385 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.7944, allocations: 0.5168 MB / 0.839 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.7959, allocations: 427 kB / 0.8394 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.7979, allocations: 1.22 MB / 0.8406 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.7991, allocations: 0.6698 MB / 0.8413 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.8002, allocations: 482.2 kB / 0.8417 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009011/0.8011, allocations: 0.5137 MB / 0.8422 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.8013, allocations: 64 kB / 0.8423 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.8023, allocations: 383.2 kB / 0.8427 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.8027, allocations: 307.2 kB / 0.843 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.8032, allocations: 445.8 kB / 0.8434 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.8046, allocations: 1.221 MB / 0.8446 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8046, allocations: 4 kB / 0.8446 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8046, allocations: 0 / 0.8446 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.8046, allocations: 0 / 0.8446 GB, free: 1.766 MB / 0.6387 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.002159/0.8068, allocations: 1.149 MB / 0.8457 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8069, allocations: 8.031 kB / 0.8457 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.8084, allocations: 243.5 kB / 0.8459 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.8094, allocations: 0.592 MB / 0.8465 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.8095, allocations: 49.67 kB / 0.8466 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.8096, allocations: 64.36 kB / 0.8466 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.8112, allocations: 1.089 MB / 0.8477 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.8113, allocations: 7.938 kB / 0.8477 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/0.8113, allocations: 31.98 kB / 0.8477 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.8115, allocations: 85.25 kB / 0.8478 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.8127, allocations: 0.7504 MB / 0.8485 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.8186, allocations: 5.878 MB / 0.8543 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.8197, allocations: 0.5632 MB / 0.8548 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.8202, allocations: 328.8 kB / 0.8552 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.8203, allocations: 4.438 kB / 0.8552 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.8203, allocations: 39 kB / 0.8552 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.8203, allocations: 0 / 0.8552 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.003929/0.8242, allocations: 1.986 MB / 0.8571 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.8243, allocations: 59.84 kB / 0.8572 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.825, allocations: 0.5509 MB / 0.8577 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.825, allocations: 33.7 kB / 0.8578 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.8253, allocations: 414.9 kB / 0.8582 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.8255, allocations: 173.6 kB / 0.8583 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.8257, allocations: 122.5 kB / 0.8584 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.8259, allocations: 378.7 kB / 0.8588 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.8263, allocations: 273.8 kB / 0.8591 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.8269, allocations: 0.4902 MB / 0.8595 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.828, allocations: 0.8055 MB / 0.8603 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.8281, allocations: 7.938 kB / 0.8603 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001863/0.8299, allocations: 1.082 MB / 0.8614 GB, free: 15.56 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.83, allocations: 8.875 kB / 0.8614 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.83, allocations: 8 kB / 0.8614 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008691/0.8309, allocations: 279.2 kB / 0.8617 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.8314, allocations: 127.8 kB / 0.8618 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/0.8383, allocations: 7.134 MB / 0.8688 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.839, allocations: 40.02 kB / 0.8688 GB, free: 7.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.839, allocations: 32 kB / 0.8688 GB, free: 7.367 MB / 0.67 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.0004094/0.8394, allocations: 253.5 kB / 0.8691 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.8396, allocations: 67.25 kB / 0.8691 GB, free: 7.043 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.8411, allocations: 0.8923 MB / 0.87 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.8411, allocations: 4 kB / 0.87 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8411, allocations: 4 kB / 0.87 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.8412, allocations: 3.984 kB / 0.87 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.844, allocations: 1.717 MB / 0.8717 GB, free: 4.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.844, allocations: 7.984 kB / 0.8717 GB, free: 4.301 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.8443, allocations: 68.02 kB / 0.8718 GB, free: 4.234 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008114/0.8451, allocations: 275.3 kB / 0.872 GB, free: 3.953 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.8452, allocations: 15.94 kB / 0.872 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007993/0.8532, allocations: 7.115 MB / 0.879 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8532, allocations: 8.094 kB / 0.879 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.8551, allocations: 0.9834 MB / 0.88 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.8555, allocations: 188.2 kB / 0.8801 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.8557, allocations: 12 kB / 0.8802 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.8561, allocations: 31.89 kB / 0.8802 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.8562, allocations: 43.95 kB / 0.8802 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.8562, allocations: 16 kB / 0.8802 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000543/0.8568, allocations: 383.1 kB / 0.8806 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8568, allocations: 0 / 0.8806 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001195/0.858, allocations: 224 kB / 0.8808 GB, free: 10.33 MB / 0.6856 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.0002909/0.8583, allocations: 119.2 kB / 0.8809 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.8609, allocations: 1.264 MB / 0.8822 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.8609, allocations: 4 kB / 0.8822 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.8624, allocations: 0.905 MB / 0.8831 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8636, allocations: 225.5 kB / 0.8833 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.8666, allocations: 1.318 MB / 0.8846 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.8678, allocations: 1.008 MB / 0.8855 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004803/0.8683, allocations: 122 kB / 0.8857 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.8684, allocations: 43.44 kB / 0.8857 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of SimCode: time 4.9e-07/0.8685, allocations: 0 / 0.8857 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of Templates: time 0.02742/0.8959, allocations: 11.31 MB / 0.8967 GB, free: 9.969 MB / 0.7012 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)