Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, 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.001456/0.001456, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 61.8 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3283, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007752/0.3361, allocations: 5.487 MB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.3412, allocations: 2.635 MB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.3416, allocations: 15.88 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.3434, allocations: 0.6422 MB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3444, allocations: 382.2 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3455, allocations: 350.6 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.3474, allocations: 1.259 MB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009893/0.3484, allocations: 458.3 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.349, allocations: 330.6 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.3497, allocations: 418.3 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.424e-05/0.3498, allocations: 32 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009183/0.3507, allocations: 431.1 kB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.351, allocations: 231.4 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.3514, allocations: 338.2 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3524, allocations: 0.9616 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3525, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3525, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.3525, allocations: 0 / 1.081 GB, free: 12.97 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001831/0.3543, allocations: 0.9776 MB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.3544, allocations: 12.03 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.3558, allocations: 195.8 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.3566, allocations: 482.5 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3566, allocations: 41.36 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3568, allocations: 60.39 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.358, allocations: 0.8241 MB / 1.084 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.3581, allocations: 3.938 kB / 1.084 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.3581, allocations: 27.98 kB / 1.084 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.3583, allocations: 64.95 kB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.3592, allocations: 0.5736 MB / 1.084 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.3633, allocations: 4.581 MB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.3637, allocations: 299.1 kB / 1.089 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.3641, allocations: 233.2 kB / 1.089 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3641, allocations: 4.281 kB / 1.089 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3641, allocations: 38.84 kB / 1.089 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 3.427e-06/0.3641, allocations: 0 / 1.089 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005381/0.3695, allocations: 2.63 MB / 1.092 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3696, allocations: 55.41 kB / 1.092 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.3701, allocations: 457.9 kB / 1.092 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.3701, allocations: 33.7 kB / 1.092 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.3703, allocations: 343.6 kB / 1.093 GB, free: 388 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3705, allocations: 145.9 kB / 1.093 GB, free: 240 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.3707, allocations: 102.2 kB / 1.093 GB, free: 132 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3709, allocations: 374.7 kB / 1.093 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.3713, allocations: 233 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.3718, allocations: 414.4 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.3727, allocations: 0.674 MB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3727, allocations: 0 / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001657/0.3743, allocations: 0.9213 MB / 1.095 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3744, allocations: 8 kB / 1.095 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3744, allocations: 4 kB / 1.095 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007903/0.3752, allocations: 222.7 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.3757, allocations: 119.8 kB / 1.096 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/0.3805, allocations: 4.935 MB / 1.101 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.381, allocations: 31.97 kB / 1.101 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.3811, allocations: 24 kB / 1.101 GB, free: 7.617 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003156/0.3814, allocations: 229.2 kB / 1.101 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3815, allocations: 55.34 kB / 1.101 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.383, allocations: 0.7736 MB / 1.102 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.383, allocations: 4 kB / 1.102 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.383, allocations: 4 kB / 1.102 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.383, allocations: 0 / 1.102 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.3854, allocations: 1.501 MB / 1.103 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3855, allocations: 4 kB / 1.103 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.3858, allocations: 67.88 kB / 1.103 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/0.3865, allocations: 206.7 kB / 1.103 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.3866, allocations: 12 kB / 1.103 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.391, allocations: 4.876 MB / 1.108 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.391, allocations: 0 / 1.108 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3928, allocations: 1.143 MB / 1.109 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.393, allocations: 172.5 kB / 1.109 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.3931, allocations: 12 kB / 1.11 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.3935, allocations: 27.91 kB / 1.11 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3936, allocations: 35.89 kB / 1.11 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.3936, allocations: 12 kB / 1.11 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003552/0.394, allocations: 310.9 kB / 1.11 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.394, allocations: 3.938 kB / 1.11 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007627/0.3948, allocations: 168 kB / 1.11 GB, free: 13.44 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.3949, allocations: 111.2 kB / 1.11 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.3966, allocations: 1.005 MB / 1.111 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3966, allocations: 4 kB / 1.111 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009349/0.3976, allocations: 0.6801 MB / 1.112 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.3985, allocations: 167.5 kB / 1.112 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.4008, allocations: 1.501 MB / 1.113 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.4014, allocations: 0.9494 MB / 1.114 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004121/0.4018, allocations: 121 kB / 1.114 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.4019, allocations: 35.44 kB / 1.114 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/0.4019, allocations: 0 / 1.114 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of Templates: time 0.01696/0.4189, allocations: 8.524 MB / 1.123 GB, free: 296 kB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)