Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, 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.001189/0.001189, 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.433/1.433, 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.694/2.694, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.66 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3527, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007423/0.3602, allocations: 6.103 MB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005325/0.3656, allocations: 3.165 MB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.3662, allocations: 27.81 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.3684, allocations: 0.8713 MB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.3696, allocations: 442 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3708, allocations: 435.1 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.3722, allocations: 1.459 MB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009387/0.3732, allocations: 0.6367 MB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/0.3737, allocations: 386.3 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.3743, allocations: 482.1 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.3744, allocations: 44 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009942/0.3754, allocations: 0.5847 MB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.3756, allocations: 279.2 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.376, allocations: 382 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.3772, allocations: 1.176 MB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3772, allocations: 0 / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3772, allocations: 3.938 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.3772, allocations: 0 / 1.084 GB, free: 10.44 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001563/0.3788, allocations: 1.048 MB / 1.085 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3788, allocations: 12.03 kB / 1.085 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3803, allocations: 211.7 kB / 1.085 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.381, allocations: 0.5336 MB / 1.085 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.3811, allocations: 49.67 kB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/0.3812, allocations: 64.31 kB / 1.085 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.3825, allocations: 1.041 MB / 1.086 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.3826, allocations: 7.938 kB / 1.086 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.3826, allocations: 24 kB / 1.086 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.728e-05/0.3827, allocations: 69.27 kB / 1.087 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.3837, allocations: 0.6918 MB / 1.087 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.3884, allocations: 5.756 MB / 1.093 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.3893, allocations: 0.5948 MB / 1.093 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.3901, allocations: 420.5 kB / 1.094 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.3901, allocations: 4 kB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3901, allocations: 42.56 kB / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.3902, allocations: 0 / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.004291/0.3944, allocations: 2.052 MB / 1.096 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3945, allocations: 59.41 kB / 1.096 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.395, allocations: 450.8 kB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.395, allocations: 33.7 kB / 1.096 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.3953, allocations: 391 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3954, allocations: 153.8 kB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3955, allocations: 118.2 kB / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3957, allocations: 362.7 kB / 1.097 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.396, allocations: 253.1 kB / 1.098 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.3965, allocations: 453 kB / 1.098 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008589/0.3974, allocations: 0.7518 MB / 1.099 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3974, allocations: 7.938 kB / 1.099 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001825/0.3992, allocations: 1.062 MB / 1.1 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3992, allocations: 8 kB / 1.1 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3993, allocations: 8 kB / 1.1 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.4003, allocations: 331.6 kB / 1.1 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.4006, allocations: 95.83 kB / 1.1 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.407, allocations: 6.958 MB / 1.107 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.4075, allocations: 32.02 kB / 1.107 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.4075, allocations: 24 kB / 1.107 GB, free: 0.75 MB / 0.8575 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003413/0.4079, allocations: 252.5 kB / 1.107 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.408, allocations: 55.34 kB / 1.107 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.4097, allocations: 0.9235 MB / 1.108 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4097, allocations: 8.281 kB / 1.108 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4097, allocations: 4 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4097, allocations: 0 / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.4124, allocations: 1.713 MB / 1.11 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4124, allocations: 4.188 kB / 1.11 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.4126, allocations: 43.91 kB / 1.11 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/0.4135, allocations: 319.3 kB / 1.11 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.4136, allocations: 8 kB / 1.11 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006517/0.4201, allocations: 6.935 MB / 1.117 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4202, allocations: 4 kB / 1.117 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.4222, allocations: 1.007 MB / 1.118 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.4225, allocations: 168.4 kB / 1.118 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.4226, allocations: 11.98 kB / 1.118 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.4229, allocations: 27.98 kB / 1.118 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4231, allocations: 39.88 kB / 1.118 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.4231, allocations: 15.94 kB / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004228/0.4236, allocations: 306.9 kB / 1.119 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4236, allocations: 288 / 1.119 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009341/0.4245, allocations: 192 kB / 1.119 GB, free: 4.016 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002272/0.4247, allocations: 115.2 kB / 1.119 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002051/0.4268, allocations: 1.21 MB / 1.12 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4268, allocations: 4.125 kB / 1.12 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.428, allocations: 0.862 MB / 1.121 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.4289, allocations: 178.1 kB / 1.121 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4311, allocations: 1.534 MB / 1.123 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.4316, allocations: 0.9881 MB / 1.124 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.4319, allocations: 93.19 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.432, allocations: 35.44 kB / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of SimCode: time 2.61e-07/0.432, allocations: 4 kB / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.01582/0.4479, allocations: 9.617 MB / 1.133 GB, free: 5.297 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)