Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001712/0.001712, allocations: 191 kB / 17.29 MB, free: 5.516 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001466/0.001466, allocations: 64.28 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2211, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.3892/0.6104, allocations: 6.058 MB / 0.7907 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.6147, allocations: 3.197 MB / 0.7938 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.6152, allocations: 34.62 kB / 0.7939 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.6173, allocations: 0.9285 MB / 0.7948 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.6184, allocations: 474.9 kB / 0.7952 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6197, allocations: 487.1 kB / 0.7957 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.6208, allocations: 1.087 MB / 0.7967 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.6216, allocations: 0.6425 MB / 0.7974 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.6221, allocations: 432.7 kB / 0.7978 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.6226, allocations: 472.8 kB / 0.7982 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.118e-05/0.6227, allocations: 63.81 kB / 0.7983 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008477/0.6236, allocations: 491.5 kB / 0.7988 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.6238, allocations: 292.8 kB / 0.799 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.6242, allocations: 404 kB / 0.7994 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.6254, allocations: 1.167 MB / 0.8006 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6254, allocations: 1.625 kB / 0.8006 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6254, allocations: 0.5625 kB / 0.8006 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.6254, allocations: 0 / 0.8006 GB, free: 43.17 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001563/0.627, allocations: 1.055 MB / 0.8016 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.627, allocations: 9.062 kB / 0.8016 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.6286, allocations: 218.6 kB / 0.8018 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.6296, allocations: 0.5262 MB / 0.8023 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.6296, allocations: 47.52 kB / 0.8024 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.6297, allocations: 68.16 kB / 0.8024 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.6312, allocations: 1.035 MB / 0.8034 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.6313, allocations: 8.562 kB / 0.8035 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.6313, allocations: 31.89 kB / 0.8035 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.6315, allocations: 66.27 kB / 0.8035 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.6326, allocations: 0.6908 MB / 0.8042 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/0.6376, allocations: 5.729 MB / 0.8098 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.6385, allocations: 0.6035 MB / 0.8104 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008683/0.6394, allocations: 423.1 kB / 0.8108 GB, free: 35.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.6395, allocations: 3.438 kB / 0.8108 GB, free: 35.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.6395, allocations: 41.55 kB / 0.8109 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 3.337e-06/0.6395, allocations: 0 / 0.8109 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.004628/0.6441, allocations: 2.051 MB / 0.8129 GB, free: 34.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.6442, allocations: 55.78 kB / 0.8129 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.6448, allocations: 454.4 kB / 0.8133 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.6448, allocations: 32.27 kB / 0.8134 GB, free: 34.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.6451, allocations: 388.7 kB / 0.8137 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6452, allocations: 151 kB / 0.8139 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.6454, allocations: 114.8 kB / 0.814 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6455, allocations: 363.8 kB / 0.8143 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.6459, allocations: 244.4 kB / 0.8146 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.6464, allocations: 461.1 kB / 0.815 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.6474, allocations: 0.7525 MB / 0.8158 GB, free: 32.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.6474, allocations: 2.219 kB / 0.8158 GB, free: 32.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002006/0.6494, allocations: 1.072 MB / 0.8168 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6495, allocations: 8 kB / 0.8168 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.6495, allocations: 8.609 kB / 0.8168 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.6506, allocations: 328.4 kB / 0.8171 GB, free: 31.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.651, allocations: 99.52 kB / 0.8172 GB, free: 31.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006502/0.6575, allocations: 7.505 MB / 0.8246 GB, free: 25.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.6581, allocations: 29.78 kB / 0.8246 GB, free: 25.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.6582, allocations: 26.83 kB / 0.8246 GB, free: 25.46 MB / 0.6544 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003698/0.6585, allocations: 252 kB / 0.8248 GB, free: 25.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.6586, allocations: 65.89 kB / 0.8249 GB, free: 25.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.6604, allocations: 0.9155 MB / 0.8258 GB, free: 24.85 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6604, allocations: 4.25 kB / 0.8258 GB, free: 24.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6604, allocations: 4.125 kB / 0.8258 GB, free: 24.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6604, allocations: 7.891 kB / 0.8258 GB, free: 24.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.6632, allocations: 1.706 MB / 0.8275 GB, free: 23.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6633, allocations: 6.625 kB / 0.8275 GB, free: 23.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.6634, allocations: 42.56 kB / 0.8275 GB, free: 23.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.6645, allocations: 326.9 kB / 0.8278 GB, free: 23.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.6645, allocations: 9.125 kB / 0.8279 GB, free: 23.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.6704, allocations: 7.504 MB / 0.8352 GB, free: 17.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6705, allocations: 2.906 kB / 0.8352 GB, free: 17.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.6722, allocations: 1.008 MB / 0.8362 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.6726, allocations: 170.1 kB / 0.8363 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.6727, allocations: 10.16 kB / 0.8363 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.6729, allocations: 27.42 kB / 0.8364 GB, free: 16.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.6731, allocations: 43.33 kB / 0.8364 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.6731, allocations: 16.84 kB / 0.8364 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003535/0.6735, allocations: 308.2 kB / 0.8367 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6735, allocations: 1.031 kB / 0.8367 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008771/0.6744, allocations: 198.6 kB / 0.8369 GB, free: 16.64 MB / 0.6544 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001334/0.6745, allocations: 110.7 kB / 0.837 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.6764, allocations: 1.218 MB / 0.8382 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6764, allocations: 1.344 kB / 0.8382 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.6776, allocations: 0.8609 MB / 0.839 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6786, allocations: 202.2 kB / 0.8392 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.6806, allocations: 1.22 MB / 0.8404 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.6811, allocations: 0.9879 MB / 0.8414 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.6815, allocations: 99.89 kB / 0.8415 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.6816, allocations: 36.7 kB / 0.8415 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of SimCode: time 8.72e-07/0.6816, allocations: 0 / 0.8415 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.02166/0.7032, allocations: 9.958 MB / 0.8513 GB, free: 11.53 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)