Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.3 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 173.6 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.00106, allocations: 93.67 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000616/0.0006161, allocations: 11.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3119, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.00824/0.3202, allocations: 9.239 MB / 0.9884 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009606/0.3299, allocations: 8.047 MB / 0.9963 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3314, allocations: 51.62 kB / 0.9964 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.3321, allocations: 254.3 kB / 0.9966 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.3361, allocations: 1.255 MB / 0.9978 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3376, allocations: 482.9 kB / 0.9983 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002103/0.3397, allocations: 1.387 MB / 0.9996 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.3422, allocations: 1.768 MB / 1.001 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.3434, allocations: 0.7278 MB / 1.002 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008973/0.3443, allocations: 0.7276 MB / 1.003 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3444, allocations: 60 kB / 1.003 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3454, allocations: 407.4 kB / 1.003 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.3457, allocations: 442.7 kB / 1.004 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.3461, allocations: 340.8 kB / 1.004 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.3475, allocations: 1.925 MB / 1.006 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3475, allocations: 0 / 1.006 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3475, allocations: 0 / 1.006 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.3475, allocations: 0 / 1.006 GB, free: 0.5156 MB / 0.6198 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.002744/0.3503, allocations: 1.714 MB / 1.008 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3503, allocations: 16.03 kB / 1.008 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.3655, allocations: 2.12 MB / 1.01 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.3694, allocations: 1.068 MB / 1.011 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.3695, allocations: 90.25 kB / 1.011 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.37, allocations: 120 kB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008652/0.3786, allocations: 2.475 MB / 1.013 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-05/0.3787, allocations: 11.89 kB / 1.013 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.379, allocations: 59.98 kB / 1.013 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004964/0.3795, allocations: 134.1 kB / 1.013 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.3906, allocations: 2.58 MB / 1.016 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.4124, allocations: 10.12 MB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008335/0.4209, allocations: 1.991 MB / 1.028 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/0.421, allocations: 12.41 kB / 1.028 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.4211, allocations: 42.98 kB / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.577e-06/0.4211, allocations: 0 / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.04632/0.4674, allocations: 8.766 MB / 1.036 GB, free: 168 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.4676, allocations: 64.06 kB / 1.036 GB, free: 92 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.4705, allocations: 1.081 MB / 1.038 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002973/0.4708, allocations: 37.7 kB / 1.038 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009138/0.4718, allocations: 0.7379 MB / 1.038 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/0.4724, allocations: 284 kB / 1.039 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.4726, allocations: 16 kB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.4728, allocations: 349.9 kB / 1.039 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004936/0.4778, allocations: 1.087 MB / 1.04 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/0.483, allocations: 1.321 MB / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004985/0.488, allocations: 1.146 MB / 1.042 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.488, allocations: 4 kB / 1.042 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01485/0.5029, allocations: 3.3 MB / 1.046 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.503, allocations: 15.92 kB / 1.046 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.5031, allocations: 12.06 kB / 1.046 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/0.5074, allocations: 0.7832 MB / 1.046 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.5105, allocations: 423.3 kB / 1.047 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.531, allocations: 14.97 MB / 1.061 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/0.5337, allocations: 299.5 kB / 1.062 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.5339, allocations: 56.03 kB / 1.062 GB, free: 4.922 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009464/0.5349, allocations: 390.2 kB / 1.062 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.5352, allocations: 146.2 kB / 1.062 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009067/0.5442, allocations: 3.249 MB / 1.065 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.5443, allocations: 8 kB / 1.065 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.5443, allocations: 7.953 kB / 1.065 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.5443, allocations: 7.984 kB / 1.065 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4748/1.019, allocations: 4.936 MB / 1.07 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.019, allocations: 4.031 kB / 1.07 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/1.021, allocations: 361.3 kB / 1.071 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/1.023, allocations: 0.6944 MB / 1.071 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.023, allocations: 35.44 kB / 1.071 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/1.036, allocations: 14.6 MB / 1.086 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.036, allocations: 4.391 kB / 1.086 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008805/1.045, allocations: 3.231 MB / 1.089 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.046, allocations: 384 kB / 1.089 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/1.046, allocations: 16.64 kB / 1.089 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.049, allocations: 304.8 kB / 1.089 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/1.049, allocations: 84.55 kB / 1.09 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.049, allocations: 42.69 kB / 1.09 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001363/1.051, allocations: 0.7277 MB / 1.09 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/1.051, allocations: 1.062 kB / 1.09 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00221/1.053, allocations: 431.4 kB / 1.091 GB, free: 69.88 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003174/1.053, allocations: 123.6 kB / 1.091 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009079/1.062, allocations: 3.655 MB / 1.094 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.062, allocations: 3.812 kB / 1.094 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005325/1.068, allocations: 2.387 MB / 1.097 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.07, allocations: 478.2 kB / 1.097 GB, free: 66.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/1.078, allocations: 3.942 MB / 1.101 GB, free: 64.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.079, allocations: 1.419 MB / 1.102 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001831/1.081, allocations: 380.4 kB / 1.103 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/1.081, allocations: 104.8 kB / 1.103 GB, free: 63.92 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/1.081, allocations: 0 / 1.103 GB, free: 63.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.04782/1.129, allocations: 28.11 MB / 1.13 GB, free: 49.77 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)