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.001132/0.001132, allocations: 108.4 kB / 16.36 MB, free: 6.008 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.001122/0.001122, allocations: 197.3 kB / 17.3 MB, free: 5.609 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.359/1.359, 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.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001452/0.001452, allocations: 75.89 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2382, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.4525/0.6908, allocations: 6.692 MB / 0.7913 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005221/0.696, allocations: 3.053 MB / 0.7943 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.6969, allocations: 30.94 kB / 0.7943 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.6995, allocations: 0.942 MB / 0.7953 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.7011, allocations: 0.5037 MB / 0.7958 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.7023, allocations: 428.8 kB / 0.7962 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.7038, allocations: 1.221 MB / 0.7974 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.7049, allocations: 0.6706 MB / 0.798 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.7056, allocations: 469.1 kB / 0.7985 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.7063, allocations: 0.519 MB / 0.799 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.7064, allocations: 69.81 kB / 0.799 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007843/0.7072, allocations: 386.4 kB / 0.7994 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.7075, allocations: 303.1 kB / 0.7997 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.7079, allocations: 446.2 kB / 0.8001 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.7095, allocations: 1.213 MB / 0.8013 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.7095, allocations: 1.5 kB / 0.8013 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7095, allocations: 0 / 0.8013 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.7095, allocations: 0 / 0.8013 GB, free: 42.84 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.002084/0.7116, allocations: 1.158 MB / 0.8024 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7117, allocations: 6.781 kB / 0.8024 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.7133, allocations: 235.7 kB / 0.8027 GB, free: 42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009442/0.7143, allocations: 0.5517 MB / 0.8032 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.7143, allocations: 47.55 kB / 0.8032 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.7144, allocations: 63.28 kB / 0.8033 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.7162, allocations: 1.085 MB / 0.8044 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.7162, allocations: 14.69 kB / 0.8044 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.7163, allocations: 34.06 kB / 0.8044 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.7165, allocations: 84.09 kB / 0.8045 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.7178, allocations: 0.7497 MB / 0.8052 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/0.7231, allocations: 5.877 MB / 0.811 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.7243, allocations: 0.5524 MB / 0.8115 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.7248, allocations: 324.2 kB / 0.8118 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.7249, allocations: 9.656 kB / 0.8118 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.7249, allocations: 38.52 kB / 0.8119 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.7249, allocations: 0 / 0.8119 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.004224/0.7291, allocations: 1.984 MB / 0.8138 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.7292, allocations: 57.02 kB / 0.8138 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/0.73, allocations: 0.5547 MB / 0.8144 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.73, allocations: 36.48 kB / 0.8144 GB, free: 33.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.7303, allocations: 416.8 kB / 0.8148 GB, free: 33.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.7304, allocations: 171.7 kB / 0.815 GB, free: 33.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.7306, allocations: 124.8 kB / 0.8151 GB, free: 33.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7307, allocations: 377.1 kB / 0.8155 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.7311, allocations: 281.4 kB / 0.8157 GB, free: 32.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.7317, allocations: 497.4 kB / 0.8162 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.7327, allocations: 0.8069 MB / 0.817 GB, free: 31.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.7328, allocations: 2.531 kB / 0.817 GB, free: 31.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001914/0.7347, allocations: 1.087 MB / 0.8181 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.7347, allocations: 8.453 kB / 0.8181 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.7347, allocations: 7.875 kB / 0.8181 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008957/0.7356, allocations: 277.4 kB / 0.8183 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.7362, allocations: 125.9 kB / 0.8185 GB, free: 31.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/0.7426, allocations: 7.141 MB / 0.8254 GB, free: 25.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.7434, allocations: 40.89 kB / 0.8255 GB, free: 25.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.7434, allocations: 27.89 kB / 0.8255 GB, free: 25.15 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.0005026/0.744, allocations: 258.1 kB / 0.8257 GB, free: 24.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.7441, allocations: 72.05 kB / 0.8258 GB, free: 24.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.7458, allocations: 0.8835 MB / 0.8267 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.7459, allocations: 9.672 kB / 0.8267 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7459, allocations: 8.344 kB / 0.8267 GB, free: 24.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7459, allocations: 3.141 kB / 0.8267 GB, free: 24.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.7487, allocations: 1.717 MB / 0.8284 GB, free: 23.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7487, allocations: 3.188 kB / 0.8284 GB, free: 23.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.749, allocations: 64.58 kB / 0.8284 GB, free: 23.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007792/0.7498, allocations: 262.3 kB / 0.8287 GB, free: 23.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.7498, allocations: 11.47 kB / 0.8287 GB, free: 23.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005469/0.7553, allocations: 7.121 MB / 0.8357 GB, free: 17.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7554, allocations: 2.344 kB / 0.8357 GB, free: 17.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.7571, allocations: 0.9952 MB / 0.8366 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.7574, allocations: 187.4 kB / 0.8368 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.7575, allocations: 12.58 kB / 0.8368 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.7579, allocations: 33.91 kB / 0.8369 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.7581, allocations: 41 kB / 0.8369 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.7581, allocations: 15.89 kB / 0.8369 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004919/0.7586, allocations: 388.8 kB / 0.8373 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7586, allocations: 0.9688 kB / 0.8373 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009437/0.7596, allocations: 220.2 kB / 0.8375 GB, free: 16.46 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.0001493/0.7597, allocations: 117.8 kB / 0.8376 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.7618, allocations: 1.275 MB / 0.8388 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7618, allocations: 5.312 kB / 0.8389 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.763, allocations: 0.8899 MB / 0.8397 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.764, allocations: 213.4 kB / 0.8399 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.7663, allocations: 1.316 MB / 0.8412 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.7669, allocations: 1.012 MB / 0.8422 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000445/0.7673, allocations: 122.6 kB / 0.8423 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.7674, allocations: 41.88 kB / 0.8424 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.7674, allocations: 0 / 0.8424 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.02278/0.7902, allocations: 11.18 MB / 0.8533 GB, free: 10.71 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)