Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.0007966/0.0007968, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006373/0.006373, allocations: 170.5 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 9.594 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3798, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007111/0.3869, allocations: 6.322 MB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004913/0.3919, allocations: 3.001 MB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.3925, allocations: 23.81 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.3929, allocations: 134.9 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.394, allocations: 481.7 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.395, allocations: 379.3 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3964, allocations: 1.595 MB / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.3982, allocations: 1.004 MB / 1.087 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.3989, allocations: 398.2 kB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006037/0.3995, allocations: 498 kB / 1.088 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.3996, allocations: 36 kB / 1.088 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007656/0.4004, allocations: 439.1 kB / 1.088 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.4007, allocations: 271.2 kB / 1.088 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003823/0.4011, allocations: 427.5 kB / 1.089 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.4022, allocations: 1.191 MB / 1.09 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4022, allocations: 3.938 kB / 1.09 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.827e-06/0.4022, allocations: 0 / 1.09 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4022, allocations: 3.938 kB / 1.09 GB, free: 7.348 MB / 0.8419 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.001701/0.4039, allocations: 0.9973 MB / 1.091 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.404, allocations: 11.97 kB / 1.091 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4055, allocations: 243.5 kB / 1.091 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.4063, allocations: 0.5413 MB / 1.092 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.4063, allocations: 53.67 kB / 1.092 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4064, allocations: 60.38 kB / 1.092 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4079, allocations: 1.089 MB / 1.093 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.408, allocations: 3.938 kB / 1.093 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/0.408, allocations: 32 kB / 1.093 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.4082, allocations: 85.25 kB / 1.093 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4093, allocations: 0.7504 MB / 1.094 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.4143, allocations: 5.897 MB / 1.099 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.4152, allocations: 0.5739 MB / 1.1 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.4157, allocations: 322 kB / 1.1 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4157, allocations: 8.438 kB / 1.1 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4158, allocations: 35 kB / 1.1 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.4158, allocations: 0 / 1.1 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.00381/0.4196, allocations: 1.998 MB / 1.102 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4196, allocations: 55.84 kB / 1.102 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.4202, allocations: 0.5624 MB / 1.103 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.4203, allocations: 37.7 kB / 1.103 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.4206, allocations: 414.9 kB / 1.103 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.4207, allocations: 173.6 kB / 1.103 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.4208, allocations: 57.69 kB / 1.104 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.421, allocations: 378.7 kB / 1.104 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.4214, allocations: 273.8 kB / 1.104 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.4219, allocations: 493 kB / 1.105 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.423, allocations: 0.8055 MB / 1.105 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.423, allocations: 4 kB / 1.105 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001746/0.4247, allocations: 1.087 MB / 1.106 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4248, allocations: 9.406 kB / 1.106 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4248, allocations: 7.984 kB / 1.106 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008351/0.4256, allocations: 279.3 kB / 1.107 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.4261, allocations: 119.8 kB / 1.107 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005925/0.432, allocations: 6.614 MB / 1.113 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.4327, allocations: 39.95 kB / 1.113 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.4327, allocations: 31.94 kB / 1.113 GB, free: 13.71 MB / 0.8731 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.0003916/0.4331, allocations: 261.5 kB / 1.114 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4332, allocations: 75.09 kB / 1.114 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.4348, allocations: 0.8924 MB / 1.115 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4348, allocations: 4 kB / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4348, allocations: 4 kB / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4348, allocations: 3.984 kB / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.4374, allocations: 1.717 MB / 1.116 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4374, allocations: 7.938 kB / 1.116 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.4377, allocations: 59.94 kB / 1.116 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007319/0.4384, allocations: 271.5 kB / 1.117 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.4384, allocations: 12 kB / 1.117 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/0.4444, allocations: 6.583 MB / 1.123 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4444, allocations: 7.969 kB / 1.123 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.446, allocations: 0.9796 MB / 1.124 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.4463, allocations: 192.2 kB / 1.124 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.4464, allocations: 15.92 kB / 1.124 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.4468, allocations: 31.97 kB / 1.124 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.4469, allocations: 43.89 kB / 1.124 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.4469, allocations: 19.98 kB / 1.124 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004407/0.4474, allocations: 379.1 kB / 1.125 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.275e-06/0.4474, allocations: 0 / 1.125 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008361/0.4482, allocations: 227.9 kB / 1.125 GB, free: 1.238 MB / 0.8731 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.0001796/0.4484, allocations: 119.6 kB / 1.125 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.4504, allocations: 1.268 MB / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4504, allocations: 0 / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.4516, allocations: 0.8894 MB / 1.127 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4527, allocations: 210.6 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.455, allocations: 1.656 MB / 1.129 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.4555, allocations: 1.009 MB / 1.13 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003918/0.4559, allocations: 118 kB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4561, allocations: 43.44 kB / 1.13 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of SimCode: time 7.21e-07/0.4561, allocations: 7.875 kB / 1.13 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of Templates: time 0.01788/0.474, allocations: 10.61 MB / 1.14 GB, free: 1.258 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)