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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001633/0.001633, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002391/0.002392, allocations: 195.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.854/1.854, allocations: 251.7 MB / 0.5092 GB, free: 3.129 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.001812/0.001812, allocations: 67.91 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6329/0.6347, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01325/0.6481, allocations: 10.82 MB / 0.7351 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.6621, allocations: 8.866 MB / 0.7438 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.6642, allocations: 63.62 kB / 0.7438 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.6686, allocations: 1.668 MB / 0.7454 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.6743, allocations: 1.526 MB / 0.7469 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.6765, allocations: 0.6723 MB / 0.7476 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00362/0.6801, allocations: 2.285 MB / 0.7498 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.6833, allocations: 1.403 MB / 0.7512 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003327/0.6867, allocations: 0.9731 MB / 0.7521 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.6893, allocations: 1.02 MB / 0.7531 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.6896, allocations: 140 kB / 0.7533 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.6918, allocations: 0.7993 MB / 0.7541 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006152/0.6925, allocations: 0.5608 MB / 0.7546 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.6935, allocations: 0.8862 MB / 0.7555 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.6963, allocations: 2.543 MB / 0.758 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6963, allocations: 3.938 kB / 0.758 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6964, allocations: 0 / 0.758 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.6964, allocations: 4 kB / 0.758 GB, free: 10.54 MB / 0.5762 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.003374/0.6998, allocations: 2.018 MB / 0.7599 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6998, allocations: 12.03 kB / 0.7599 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.7107, allocations: 2.042 MB / 0.7619 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.7134, allocations: 1.123 MB / 0.763 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.7135, allocations: 94.62 kB / 0.7631 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.7137, allocations: 120 kB / 0.7632 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.7191, allocations: 2.478 MB / 0.7657 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.7192, allocations: 11.94 kB / 0.7657 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.7194, allocations: 51.98 kB / 0.7657 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003384/0.7197, allocations: 126.1 kB / 0.7658 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006951/0.7267, allocations: 2.545 MB / 0.7683 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.7406, allocations: 10.07 MB / 0.7782 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/0.7469, allocations: 1.948 MB / 0.7801 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.7496, allocations: 0.9699 MB / 0.781 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.7497, allocations: 8.438 kB / 0.781 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.7498, allocations: 39 kB / 0.7811 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/0.7498, allocations: 3.938 kB / 0.7811 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03191/0.7817, allocations: 8.718 MB / 0.7896 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.7818, allocations: 64.06 kB / 0.7896 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.784, allocations: 1.089 MB / 0.7907 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.7841, allocations: 41.7 kB / 0.7907 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005821/0.7847, allocations: 0.7418 MB / 0.7915 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.785, allocations: 288 kB / 0.7917 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000447/0.7855, allocations: 202.4 kB / 0.7919 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7856, allocations: 341.9 kB / 0.7923 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.7886, allocations: 1.071 MB / 0.7933 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/0.7917, allocations: 1.309 MB / 0.7946 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.7977, allocations: 2.378 MB / 0.7969 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.7977, allocations: 3.938 kB / 0.7969 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009049/0.8068, allocations: 3.277 MB / 0.8001 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.8069, allocations: 12.16 kB / 0.8001 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.8069, allocations: 4 kB / 0.8001 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/0.8097, allocations: 0.7872 MB / 0.8009 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.8117, allocations: 423.2 kB / 0.8013 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/0.8292, allocations: 15.92 MB / 0.8168 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.832, allocations: 295.5 kB / 0.8171 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.8323, allocations: 51.97 kB / 0.8172 GB, free: 11.41 MB / 0.6387 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.001265/0.8336, allocations: 399.6 kB / 0.8176 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/0.8342, allocations: 150.2 kB / 0.8177 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009512/0.8437, allocations: 3.202 MB / 0.8208 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.8438, allocations: 11.94 kB / 0.8208 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.882e-05/0.8439, allocations: 8 kB / 0.8208 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.8439, allocations: 3.984 kB / 0.8208 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.8573, allocations: 4.897 MB / 0.8256 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.8574, allocations: 12 kB / 0.8256 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.8591, allocations: 359.4 kB / 0.826 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.8618, allocations: 0.7056 MB / 0.8267 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.8619, allocations: 31.97 kB / 0.8267 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/0.8785, allocations: 15.53 MB / 0.8419 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.8785, allocations: 7.938 kB / 0.8419 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008702/0.8872, allocations: 3.042 MB / 0.8448 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.8884, allocations: 379.2 kB / 0.8452 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/0.8889, allocations: 20 kB / 0.8452 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.8911, allocations: 299.4 kB / 0.8455 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/0.8915, allocations: 72.5 kB / 0.8456 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.8916, allocations: 43.95 kB / 0.8456 GB, free: 12.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001462/0.8931, allocations: 0.7366 MB / 0.8463 GB, free: 12.11 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8931, allocations: 0 / 0.8463 GB, free: 12.11 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00214/0.8952, allocations: 432 kB / 0.8468 GB, free: 11.69 MB / 0.67 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.0003566/0.8956, allocations: 131.1 kB / 0.8469 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009423/0.905, allocations: 3.765 MB / 0.8506 GB, free: 7.691 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.9051, allocations: 0 / 0.8506 GB, free: 7.691 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005122/0.9102, allocations: 2.368 MB / 0.8529 GB, free: 5.219 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.9132, allocations: 0.5169 MB / 0.8534 GB, free: 4.715 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009201/0.9224, allocations: 3.47 MB / 0.8568 GB, free: 1.184 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.9241, allocations: 1.391 MB / 0.8581 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002053/0.9262, allocations: 375.9 kB / 0.8585 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/0.9267, allocations: 107.4 kB / 0.8586 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of SimCode: time 1.522e-06/0.9267, allocations: 0 / 0.8586 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of Templates: time 0.06309/0.9898, allocations: 30.25 MB / 0.8881 GB, free: 1.441 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)