Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001285/0.001285, allocations: 191 kB / 16.14 MB, free: 6.711 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.583/1.583, allocations: 205.1 MB / 222 MB, free: 4.781 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.732/1.732, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001353/0.001353, allocations: 66.5 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2195, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008116/0.2277, allocations: 6.707 MB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005495/0.2332, allocations: 3.06 MB / 0.7922 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008019/0.2341, allocations: 23.88 kB / 0.7922 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2365, allocations: 0.8996 MB / 0.7931 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2379, allocations: 473.7 kB / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.2389, allocations: 387.2 kB / 0.7939 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.2405, allocations: 1.583 MB / 0.7955 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000971/0.2415, allocations: 0.6484 MB / 0.7961 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.2422, allocations: 414.3 kB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.2428, allocations: 0.5293 MB / 0.797 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.2429, allocations: 52 kB / 0.7971 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.2437, allocations: 451 kB / 0.7975 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.244, allocations: 295.2 kB / 0.7978 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.2444, allocations: 413.8 kB / 0.7982 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.2457, allocations: 1.211 MB / 0.7994 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2457, allocations: 0 / 0.7994 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2457, allocations: 0 / 0.7994 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.2457, allocations: 0 / 0.7994 GB, free: 12.84 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00196/0.2477, allocations: 1.161 MB / 0.8005 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2477, allocations: 8.031 kB / 0.8005 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.2492, allocations: 239.6 kB / 0.8007 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/0.2501, allocations: 0.553 MB / 0.8013 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.2501, allocations: 45.67 kB / 0.8013 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.2502, allocations: 68.31 kB / 0.8014 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2516, allocations: 1.093 MB / 0.8025 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.2517, allocations: 7.938 kB / 0.8025 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.2517, allocations: 31.98 kB / 0.8025 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.2519, allocations: 85.25 kB / 0.8026 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.253, allocations: 0.7465 MB / 0.8033 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005248/0.2582, allocations: 5.889 MB / 0.8091 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009033/0.2592, allocations: 0.5555 MB / 0.8096 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.2596, allocations: 326 kB / 0.8099 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.2596, allocations: 8.438 kB / 0.8099 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2597, allocations: 39 kB / 0.81 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.2597, allocations: 0 / 0.81 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003703/0.2634, allocations: 1.982 MB / 0.8119 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2634, allocations: 59.84 kB / 0.8119 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.2641, allocations: 0.5547 MB / 0.8125 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.2641, allocations: 37.7 kB / 0.8125 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.2644, allocations: 418.9 kB / 0.8129 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2645, allocations: 173.5 kB / 0.8131 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.2647, allocations: 122.6 kB / 0.8132 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2649, allocations: 378.7 kB / 0.8136 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.2653, allocations: 269.8 kB / 0.8138 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.2658, allocations: 497 kB / 0.8143 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009565/0.2668, allocations: 0.8171 MB / 0.8151 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2668, allocations: 0 / 0.8151 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001691/0.2685, allocations: 1.091 MB / 0.8162 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2685, allocations: 8 kB / 0.8162 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2685, allocations: 8 kB / 0.8162 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008043/0.2693, allocations: 275.5 kB / 0.8164 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.2698, allocations: 131.7 kB / 0.8166 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005863/0.2757, allocations: 6.583 MB / 0.823 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.2763, allocations: 43.95 kB / 0.823 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.2763, allocations: 31.98 kB / 0.8231 GB, free: 3.02 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003859/0.2767, allocations: 254.2 kB / 0.8233 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.2768, allocations: 71.16 kB / 0.8234 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.2784, allocations: 0.8885 MB / 0.8242 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2784, allocations: 4.188 kB / 0.8242 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2784, allocations: 8 kB / 0.8243 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2784, allocations: 7.922 kB / 0.8243 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.2809, allocations: 1.724 MB / 0.8259 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2809, allocations: 11.86 kB / 0.826 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.2812, allocations: 59.89 kB / 0.826 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007715/0.282, allocations: 267.4 kB / 0.8263 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.2821, allocations: 16 kB / 0.8263 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005812/0.2879, allocations: 6.571 MB / 0.8327 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2879, allocations: 4.062 kB / 0.8327 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.2894, allocations: 0.9876 MB / 0.8337 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.2897, allocations: 188.3 kB / 0.8339 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.2898, allocations: 15.92 kB / 0.8339 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.2902, allocations: 31.97 kB / 0.8339 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2903, allocations: 43.88 kB / 0.8339 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.2903, allocations: 16.14 kB / 0.834 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000408/0.2907, allocations: 387.1 kB / 0.8343 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2907, allocations: 0 / 0.8343 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007988/0.2915, allocations: 220 kB / 0.8345 GB, free: 6.551 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.2917, allocations: 119.1 kB / 0.8346 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.2939, allocations: 1.268 MB / 0.8359 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.2939, allocations: 4 kB / 0.8359 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.2951, allocations: 0.8854 MB / 0.8368 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.2963, allocations: 216.6 kB / 0.837 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.2989, allocations: 1.647 MB / 0.8386 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.2996, allocations: 1.005 MB / 0.8395 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000468/0.3001, allocations: 114 kB / 0.8397 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3002, allocations: 43.44 kB / 0.8397 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of SimCode: time 8.81e-07/0.3002, allocations: 0 / 0.8397 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of Templates: time 0.01808/0.3183, allocations: 10.78 MB / 0.8502 GB, free: 6.414 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)