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.0014/0.0014, allocations: 104.8 kB / 16.36 MB, free: 6.309 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.001446/0.001446, allocations: 192.3 kB / 17.29 MB, free: 5.871 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001417/0.001417, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2204, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.3483/0.5688, allocations: 6.699 MB / 0.7913 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.5732, allocations: 3.054 MB / 0.7943 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.5737, allocations: 27.44 kB / 0.7943 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.5759, allocations: 0.9401 MB / 0.7953 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.5771, allocations: 0.5106 MB / 0.7958 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.5781, allocations: 424 kB / 0.7962 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.5793, allocations: 1.223 MB / 0.7974 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008401/0.5801, allocations: 0.6713 MB / 0.798 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.5808, allocations: 473.2 kB / 0.7985 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.5814, allocations: 0.5163 MB / 0.799 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.731e-05/0.5815, allocations: 68.81 kB / 0.799 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.5822, allocations: 376.3 kB / 0.7994 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.5825, allocations: 303.1 kB / 0.7997 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.5828, allocations: 451.9 kB / 0.8001 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.5841, allocations: 1.218 MB / 0.8013 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5841, allocations: 0 / 0.8013 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5841, allocations: 0 / 0.8013 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.5841, allocations: 0 / 0.8013 GB, free: 42.67 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001846/0.586, allocations: 1.159 MB / 0.8024 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.586, allocations: 9.875 kB / 0.8024 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.5876, allocations: 230.6 kB / 0.8027 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009635/0.5886, allocations: 0.5959 MB / 0.8032 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.5887, allocations: 57.53 kB / 0.8033 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5888, allocations: 57.53 kB / 0.8034 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.5904, allocations: 1.084 MB / 0.8044 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.5904, allocations: 10.98 kB / 0.8044 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.5905, allocations: 30.09 kB / 0.8045 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.5907, allocations: 85.11 kB / 0.8045 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5919, allocations: 0.7532 MB / 0.8053 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.5969, allocations: 5.875 MB / 0.811 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.598, allocations: 0.5504 MB / 0.8115 GB, free: 35.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.5985, allocations: 328.1 kB / 0.8119 GB, free: 35.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.5985, allocations: 8.781 kB / 0.8119 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.5986, allocations: 39.02 kB / 0.8119 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.5986, allocations: 0 / 0.8119 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.003925/0.6025, allocations: 1.98 MB / 0.8138 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.6025, allocations: 57.53 kB / 0.8139 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.6033, allocations: 0.5545 MB / 0.8144 GB, free: 33.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.6033, allocations: 36.78 kB / 0.8145 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.6036, allocations: 418.6 kB / 0.8149 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.6037, allocations: 170.9 kB / 0.815 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.6039, allocations: 129 kB / 0.8152 GB, free: 33.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.604, allocations: 379 kB / 0.8155 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.6044, allocations: 274.9 kB / 0.8158 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.6049, allocations: 498.3 kB / 0.8163 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/0.6059, allocations: 0.8066 MB / 0.817 GB, free: 31.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6059, allocations: 1.406 kB / 0.817 GB, free: 31.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001839/0.6077, allocations: 1.089 MB / 0.8181 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6077, allocations: 11.97 kB / 0.8181 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6078, allocations: 8.125 kB / 0.8181 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/0.6086, allocations: 277 kB / 0.8184 GB, free: 31.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.6091, allocations: 129.5 kB / 0.8185 GB, free: 31.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/0.6147, allocations: 7.133 MB / 0.8255 GB, free: 25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.6155, allocations: 40.7 kB / 0.8255 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.6155, allocations: 27.52 kB / 0.8255 GB, free: 24.98 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 (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.0003808/0.6159, allocations: 255.9 kB / 0.8258 GB, free: 24.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.616, allocations: 71.91 kB / 0.8259 GB, free: 24.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.6176, allocations: 0.8918 MB / 0.8267 GB, free: 24.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6176, allocations: 5.438 kB / 0.8267 GB, free: 24.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6176, allocations: 3.094 kB / 0.8267 GB, free: 24.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6176, allocations: 3.984 kB / 0.8267 GB, free: 24.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.6203, allocations: 1.721 MB / 0.8284 GB, free: 23.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.6203, allocations: 8.984 kB / 0.8284 GB, free: 23.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.6206, allocations: 59.88 kB / 0.8285 GB, free: 23.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007648/0.6214, allocations: 273.4 kB / 0.8287 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.6214, allocations: 8.547 kB / 0.8288 GB, free: 23.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/0.6266, allocations: 7.118 MB / 0.8357 GB, free: 17.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6266, allocations: 2.344 kB / 0.8357 GB, free: 17.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.6283, allocations: 0.9872 MB / 0.8367 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.6286, allocations: 189.9 kB / 0.8368 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.6287, allocations: 8.156 kB / 0.8369 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.6291, allocations: 39.42 kB / 0.8369 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6292, allocations: 44.58 kB / 0.8369 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.6292, allocations: 16.44 kB / 0.837 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00048/0.6297, allocations: 385.8 kB / 0.8373 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6297, allocations: 0 / 0.8373 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009374/0.6307, allocations: 224.8 kB / 0.8375 GB, free: 16.28 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.0001442/0.6308, allocations: 116.8 kB / 0.8376 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.6328, allocations: 1.264 MB / 0.8389 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.6328, allocations: 5.375 kB / 0.8389 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.634, allocations: 0.8895 MB / 0.8398 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6351, allocations: 221.1 kB / 0.84 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.6374, allocations: 1.389 MB / 0.8413 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.638, allocations: 1.007 MB / 0.8423 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.6381, allocations: 46.27 kB / 0.8424 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.6381, allocations: 0 / 0.8424 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.02696/0.6651, allocations: 20.66 MB / 0.8625 GB, free: 4.973 MB / 0.6544 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)