Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.697/2.697, allocations: 287.3 MB / 302.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 181.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001222, allocations: 96.39 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006618/0.0006619, allocations: 11.98 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2314, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01459/0.2461, allocations: 9.235 MB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.2664, allocations: 8.047 MB / 0.9951 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.2686, allocations: 51.62 kB / 0.9951 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.2706, allocations: 258.3 kB / 0.9954 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008237/0.2789, allocations: 1.255 MB / 0.9966 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.2822, allocations: 476.7 kB / 0.997 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004766/0.287, allocations: 1.387 MB / 0.9984 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006893/0.294, allocations: 1.772 MB / 1 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.2971, allocations: 0.7278 MB / 1.001 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.2999, allocations: 0.7237 MB / 1.002 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004646/0.3004, allocations: 60 kB / 1.002 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.3028, allocations: 407.4 kB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.3037, allocations: 450.7 kB / 1.002 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.3045, allocations: 336.8 kB / 1.003 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.309, allocations: 1.917 MB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3091, allocations: 0 / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.957e-06/0.3091, allocations: 0 / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.493e-05/0.3092, allocations: 0 / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006867/0.3161, allocations: 1.718 MB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.3162, allocations: 20.02 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03271/0.349, allocations: 2.12 MB / 1.008 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005402/0.3544, allocations: 1.075 MB / 1.009 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.3547, allocations: 86.31 kB / 1.01 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007777/0.3555, allocations: 108 kB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.371, allocations: 2.49 MB / 1.012 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.3711, allocations: 7.938 kB / 1.012 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004518/0.3716, allocations: 56 kB / 1.012 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.3727, allocations: 134.1 kB / 1.012 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.3907, allocations: 2.584 MB / 1.015 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02432/0.4151, allocations: 10.11 MB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.4274, allocations: 1.999 MB / 1.027 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.4275, allocations: 8.438 kB / 1.027 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.4276, allocations: 39 kB / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 4.218e-06/0.4276, allocations: 0 / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.06598/0.4936, allocations: 8.766 MB / 1.035 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4937, allocations: 60.06 kB / 1.035 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.496, allocations: 1.089 MB / 1.036 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.4963, allocations: 37.7 kB / 1.036 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008439/0.4972, allocations: 0.7379 MB / 1.037 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/0.4977, allocations: 283.9 kB / 1.037 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.4979, allocations: 20 kB / 1.037 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.498, allocations: 349.9 kB / 1.038 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005793/0.5039, allocations: 1.087 MB / 1.039 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006004/0.5099, allocations: 1.321 MB / 1.04 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005885/0.5159, allocations: 1.146 MB / 1.041 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.516, allocations: 4 kB / 1.041 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01648/0.5325, allocations: 3.304 MB / 1.044 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.5325, allocations: 8 kB / 1.044 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5326, allocations: 12.09 kB / 1.044 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004884/0.5375, allocations: 0.791 MB / 1.045 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003752/0.5413, allocations: 423.3 kB / 1.046 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/0.5675, allocations: 14.98 MB / 1.06 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/0.5744, allocations: 299.5 kB / 1.061 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/0.5748, allocations: 56.03 kB / 1.061 GB, free: 5.59 MB / 0.6823 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002141/0.577, allocations: 390.3 kB / 1.061 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/0.5777, allocations: 146.3 kB / 1.061 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/0.5945, allocations: 3.245 MB / 1.064 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.5946, allocations: 8 kB / 1.064 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.5946, allocations: 4 kB / 1.064 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.5947, allocations: 7.984 kB / 1.064 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6688/1.263, allocations: 4.941 MB / 1.069 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.264, allocations: 2.703 kB / 1.069 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/1.267, allocations: 362.3 kB / 1.069 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004412/1.271, allocations: 0.6976 MB / 1.07 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/1.272, allocations: 29.45 kB / 1.07 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03256/1.304, allocations: 14.61 MB / 1.084 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/1.304, allocations: 3.625 kB / 1.084 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.328, allocations: 3.229 MB / 1.088 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.33, allocations: 396.1 kB / 1.088 GB, free: 70.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007777/1.331, allocations: 15.5 kB / 1.088 GB, free: 70.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006044/1.337, allocations: 300.6 kB / 1.088 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006769/1.338, allocations: 78.11 kB / 1.088 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.338, allocations: 40.14 kB / 1.088 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001679/1.34, allocations: 0.7253 MB / 1.089 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/1.34, allocations: 5.281 kB / 1.089 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002686/1.342, allocations: 438.3 kB / 1.089 GB, free: 70.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004374/1.343, allocations: 120.7 kB / 1.09 GB, free: 69.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.359, allocations: 3.652 MB / 1.093 GB, free: 68.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.359, allocations: 5.312 kB / 1.093 GB, free: 68.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009373/1.368, allocations: 2.386 MB / 1.096 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/1.372, allocations: 477.9 kB / 1.096 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.386, allocations: 3.938 MB / 1.1 GB, free: 65.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/1.388, allocations: 1.415 MB / 1.101 GB, free: 64.28 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002825/1.391, allocations: 381.2 kB / 1.102 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/1.392, allocations: 107.8 kB / 1.102 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/1.392, allocations: 0 / 1.102 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of Templates: time 0.07717/1.469, allocations: 28.11 MB / 1.129 GB, free: 51.01 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)