Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 110.5 kB / 15.99 MB, free: 6.336 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.001927/0.001927, allocations: 199.1 kB / 16.91 MB, free: 6.176 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.504/1.504, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.3 MB / 0.5492 GB, free: 13.66 MB / 462.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.001373/0.001373, allocations: 73.14 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01278/0.2573, allocations: 10.78 MB / 0.794 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2705, allocations: 8.782 MB / 0.8026 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.2726, allocations: 51.69 kB / 0.8027 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.2771, allocations: 1.564 MB / 0.8042 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.2824, allocations: 1.392 MB / 0.8056 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.2845, allocations: 0.617 MB / 0.8062 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003356/0.2879, allocations: 2.297 MB / 0.8084 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.2901, allocations: 1.547 MB / 0.8099 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.2918, allocations: 1 MB / 0.8109 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.2935, allocations: 1.055 MB / 0.8119 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.2938, allocations: 140 kB / 0.8121 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.2959, allocations: 0.7994 MB / 0.8128 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006918/0.2967, allocations: 0.5647 MB / 0.8134 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2979, allocations: 0.8861 MB / 0.8143 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.3011, allocations: 2.034 MB / 0.8162 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3011, allocations: 8 kB / 0.8162 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3011, allocations: 0 / 0.8162 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.709e-05/0.3011, allocations: 0 / 0.8162 GB, free: 12.25 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003853/0.305, allocations: 2.022 MB / 0.8182 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.3051, allocations: 8.031 kB / 0.8182 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.3156, allocations: 2.046 MB / 0.8202 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.318, allocations: 1.126 MB / 0.8213 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.3181, allocations: 86.69 kB / 0.8214 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.3183, allocations: 112.1 kB / 0.8215 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00537/0.3237, allocations: 2.486 MB / 0.8239 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.028e-05/0.3238, allocations: 11.84 kB / 0.824 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.324, allocations: 48 kB / 0.824 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003499/0.3243, allocations: 134.1 kB / 0.8241 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00672/0.3311, allocations: 2.537 MB / 0.8266 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.3446, allocations: 10.08 MB / 0.8364 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005745/0.3504, allocations: 1.956 MB / 0.8384 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/0.353, allocations: 0.9766 MB / 0.8393 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/0.3531, allocations: 8.438 kB / 0.8393 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3532, allocations: 39 kB / 0.8394 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.3532, allocations: 0 / 0.8394 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02951/0.3827, allocations: 8.699 MB / 0.8479 GB, free: 10.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3828, allocations: 64 kB / 0.8479 GB, free: 10.76 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.3843, allocations: 1.108 MB / 0.849 GB, free: 9.637 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.3844, allocations: 41.7 kB / 0.849 GB, free: 9.59 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.3849, allocations: 0.738 MB / 0.8498 GB, free: 8.844 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.3852, allocations: 279.9 kB / 0.85 GB, free: 8.566 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.3856, allocations: 202.4 kB / 0.8502 GB, free: 8.363 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3857, allocations: 341.9 kB / 0.8505 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.3885, allocations: 1.079 MB / 0.8516 GB, free: 6.941 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/0.3913, allocations: 1.301 MB / 0.8529 GB, free: 5.543 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/0.3968, allocations: 2.378 MB / 0.8552 GB, free: 3.074 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3969, allocations: 7.938 kB / 0.8552 GB, free: 3.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008519/0.4054, allocations: 3.277 MB / 0.8584 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.4055, allocations: 8 kB / 0.8584 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4055, allocations: 8 kB / 0.8584 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/0.4083, allocations: 0.7872 MB / 0.8592 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.4102, allocations: 419.2 kB / 0.8596 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/0.426, allocations: 15.93 MB / 0.8751 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.4283, allocations: 291.5 kB / 0.8754 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.4286, allocations: 51.95 kB / 0.8755 GB, free: 13.12 MB / 0.7012 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008896/0.4295, allocations: 402.1 kB / 0.8759 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/0.4299, allocations: 142.3 kB / 0.876 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008475/0.4384, allocations: 3.202 MB / 0.8791 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.4384, allocations: 11.94 kB / 0.8791 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/0.4385, allocations: 8 kB / 0.8791 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4385, allocations: 7.984 kB / 0.8791 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.4498, allocations: 4.909 MB / 0.8839 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.4499, allocations: 3.938 kB / 0.8839 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.4514, allocations: 351.3 kB / 0.8843 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/0.4539, allocations: 0.7015 MB / 0.885 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.4541, allocations: 31.97 kB / 0.885 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.4693, allocations: 15.54 MB / 0.9002 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4694, allocations: 4 kB / 0.9002 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008071/0.4775, allocations: 3.042 MB / 0.9031 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.4787, allocations: 387.2 kB / 0.9035 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/0.4792, allocations: 20 kB / 0.9035 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.4812, allocations: 291.4 kB / 0.9038 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.4815, allocations: 84.48 kB / 0.9039 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.4816, allocations: 39.97 kB / 0.9039 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001215/0.4828, allocations: 0.7366 MB / 0.9046 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4828, allocations: 0 / 0.9046 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001918/0.4848, allocations: 432 kB / 0.9051 GB, free: 13.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003228/0.4851, allocations: 135.1 kB / 0.9052 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008585/0.4937, allocations: 3.765 MB / 0.9089 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.4938, allocations: 128 / 0.9089 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005142/0.4989, allocations: 2.364 MB / 0.9112 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.5021, allocations: 0.5279 MB / 0.9117 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008423/0.5105, allocations: 4.157 MB / 0.9157 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.5119, allocations: 1.388 MB / 0.9171 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/0.5125, allocations: 127.3 kB / 0.9172 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of SimCode: time 1.693e-06/0.5125, allocations: 3.938 kB / 0.9172 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of Templates: time 0.4511/0.9637, allocations: 74.98 MB / 0.9904 GB, free: 80.75 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)