Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.501/2.501, allocations: 287.5 MB / 303.2 MB, free: 8.168 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.001335/0.001334, allocations: 172.4 kB / 371.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.6305 GB, free: 10.43 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.0009398/0.0009397, allocations: 101.8 kB / 0.7438 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 15.42 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9847/1.199, allocations: 179.8 MB / 1.155 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/1.199, allocations: 103.1 kB / 1.155 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3328/1.532, allocations: 77.91 MB / 1.231 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.156e-06/1.532, allocations: 0 / 1.231 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001979/1.532, allocations: 39.94 kB / 1.231 GB, free: 1.406 MB / 0.7448 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.006152/1.538, allocations: 1.75 MB / 1.233 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/1.539, allocations: 12.03 kB / 1.233 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/1.557, allocations: 1.806 MB / 1.235 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/1.562, allocations: 1.195 MB / 1.236 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.562, allocations: 90.31 kB / 1.236 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007415/1.563, allocations: 123.8 kB / 1.236 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/1.574, allocations: 2.552 MB / 1.238 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-05/1.574, allocations: 11.84 kB / 1.238 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/1.574, allocations: 59.92 kB / 1.238 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/1.574, allocations: 78.19 kB / 1.239 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/1.589, allocations: 2.588 MB / 1.241 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/1.614, allocations: 10.2 MB / 1.251 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/1.626, allocations: 2.02 MB / 1.253 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005391/1.632, allocations: 0.9933 MB / 1.254 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/1.632, allocations: 8.438 kB / 1.254 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/1.632, allocations: 43 kB / 1.254 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=53): time 3.066e-06/1.632, allocations: 0 / 1.254 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81): time 0.06011/1.692, allocations: 9.236 MB / 1.263 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.692, allocations: 218.2 kB / 1.263 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/1.695, allocations: 1.101 MB / 1.264 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/1.695, allocations: 45.7 kB / 1.264 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007805/1.696, allocations: 0.7303 MB / 1.265 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/1.696, allocations: 280 kB / 1.265 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/1.696, allocations: 16 kB / 1.265 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.697, allocations: 341.9 kB / 1.266 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005677/1.702, allocations: 1.099 MB / 1.267 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006018/1.708, allocations: 1.344 MB / 1.268 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.72, allocations: 2.406 MB / 1.27 GB, free: 7.727 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.72, allocations: 4 kB / 1.27 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01683/1.737, allocations: 3.311 MB / 1.274 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.737, allocations: 12.73 kB / 1.274 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.737, allocations: 8 kB / 1.274 GB, free: 4.359 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005656/1.743, allocations: 0.8574 MB / 1.275 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/1.747, allocations: 423.2 kB / 1.275 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/1.773, allocations: 14.91 MB / 1.29 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.777, allocations: 303.5 kB / 1.29 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/1.778, allocations: 51.91 kB / 1.29 GB, free: 2.734 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(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.001371/1.779, allocations: 401.5 kB / 1.29 GB, free: 2.332 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/1.78, allocations: 142.3 kB / 1.29 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/1.796, allocations: 3.28 MB / 1.294 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.796, allocations: 8 kB / 1.294 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-05/1.796, allocations: 12 kB / 1.294 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/1.796, allocations: 3.984 kB / 1.294 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.818, allocations: 5.038 MB / 1.299 GB, free: 9.688 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.818, allocations: 4.031 kB / 1.299 GB, free: 9.684 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003232/1.821, allocations: 363.4 kB / 1.299 GB, free: 9.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005482/1.827, allocations: 0.7794 MB / 1.3 GB, free: 8.523 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003855/1.827, allocations: 35.91 kB / 1.3 GB, free: 8.488 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02934/1.856, allocations: 14.54 MB / 1.314 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.857, allocations: 0 / 1.314 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/1.872, allocations: 3.124 MB / 1.317 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.874, allocations: 395 kB / 1.317 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/1.875, allocations: 23.98 kB / 1.317 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/1.879, allocations: 307.4 kB / 1.318 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.879, allocations: 80.5 kB / 1.318 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.879, allocations: 47.89 kB / 1.318 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001814/1.881, allocations: 0.7366 MB / 1.318 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.81e-07/1.881, allocations: 0 / 1.318 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002768/1.884, allocations: 460 kB / 1.319 GB, free: 3.637 MB / 0.8386 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,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000527/1.885, allocations: 147.1 kB / 1.319 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01585/1.9, allocations: 3.675 MB / 1.323 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.9, allocations: 0 / 1.323 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009268/1.91, allocations: 2.407 MB / 1.325 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.915, allocations: 475 kB / 1.325 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/1.932, allocations: 4.269 MB / 1.33 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/1.934, allocations: 1.384 MB / 1.331 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002987/1.937, allocations: 379.9 kB / 1.331 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/1.938, allocations: 103.4 kB / 1.331 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/1.938, allocations: 0 / 1.331 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.08674/2.025, allocations: 29.2 MB / 1.36 GB, free: 9.629 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)