Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001362, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.001629, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.912/1.912, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.97/1.97, allocations: 292.3 MB / 0.5488 GB, free: 12.82 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.001494/0.001494, allocations: 71.64 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3172, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01637/0.3337, allocations: 10.82 MB / 0.7939 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.35, allocations: 8.863 MB / 0.8026 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.3522, allocations: 59.69 kB / 0.8027 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005203/0.3575, allocations: 1.664 MB / 0.8043 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006451/0.364, allocations: 1.537 MB / 0.8058 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.3668, allocations: 0.6737 MB / 0.8064 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005923/0.3727, allocations: 2.286 MB / 0.8087 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.3759, allocations: 1.383 MB / 0.81 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.3791, allocations: 0.9692 MB / 0.811 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.3817, allocations: 1.031 MB / 0.812 GB, free: 56 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007916/0.3826, allocations: 136 kB / 0.8121 GB, free: 15.92 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.3856, allocations: 0.8032 MB / 0.8129 GB, free: 15.12 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.3868, allocations: 0.5725 MB / 0.8135 GB, free: 14.54 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.002512/0.3894, allocations: 0.8823 MB / 0.8143 GB, free: 13.66 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.3944, allocations: 2.539 MB / 0.8168 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3945, allocations: 0 / 0.8168 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3945, allocations: 3.938 kB / 0.8168 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0001062/0.3946, allocations: 4 kB / 0.8168 GB, free: 11.1 MB / 0.6388 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.005504/0.4001, allocations: 2.01 MB / 0.8188 GB, free: 9.035 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4002, allocations: 8.031 kB / 0.8188 GB, free: 9.027 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.4121, allocations: 2.046 MB / 0.8208 GB, free: 6.977 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.4154, allocations: 1.13 MB / 0.8219 GB, free: 5.789 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.4155, allocations: 86.69 kB / 0.822 GB, free: 5.703 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005859/0.4161, allocations: 120.1 kB / 0.8221 GB, free: 5.586 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006927/0.4231, allocations: 2.482 MB / 0.8245 GB, free: 2.953 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.741e-05/0.4232, allocations: 7.906 kB / 0.8245 GB, free: 2.945 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.4235, allocations: 48 kB / 0.8245 GB, free: 2.898 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003933/0.4239, allocations: 134.1 kB / 0.8247 GB, free: 2.766 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008021/0.4319, allocations: 2.541 MB / 0.8272 GB, free: 220 kB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.452, allocations: 10.07 MB / 0.837 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006942/0.459, allocations: 1.952 MB / 0.8389 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.4621, allocations: 0.966 MB / 0.8398 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.323e-05/0.4623, allocations: 8.375 kB / 0.8398 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.4623, allocations: 47 kB / 0.8399 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 6.202e-06/0.4624, allocations: 3.984 kB / 0.8399 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03247/0.4948, allocations: 8.699 MB / 0.8484 GB, free: 9.699 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.4949, allocations: 60.06 kB / 0.8484 GB, free: 9.625 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.4969, allocations: 1.108 MB / 0.8495 GB, free: 8.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.4971, allocations: 45.64 kB / 0.8496 GB, free: 8.449 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/0.4978, allocations: 0.7302 MB / 0.8503 GB, free: 7.711 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.4982, allocations: 283.9 kB / 0.8506 GB, free: 7.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.4987, allocations: 206.4 kB / 0.8508 GB, free: 7.223 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4988, allocations: 341.9 kB / 0.8511 GB, free: 6.883 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/0.5019, allocations: 1.071 MB / 0.8521 GB, free: 5.809 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/0.5051, allocations: 1.313 MB / 0.8534 GB, free: 4.402 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006258/0.5114, allocations: 2.378 MB / 0.8557 GB, free: 1.934 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.5115, allocations: 4 kB / 0.8557 GB, free: 1.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00949/0.521, allocations: 3.273 MB / 0.8589 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.5211, allocations: 8.125 kB / 0.8589 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.5211, allocations: 19.98 kB / 0.859 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/0.5239, allocations: 0.7833 MB / 0.8597 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.526, allocations: 427.2 kB / 0.8601 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.5454, allocations: 15.92 MB / 0.8757 GB, free: 12.32 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.5481, allocations: 283.5 kB / 0.8759 GB, free: 12.04 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.5483, allocations: 51.95 kB / 0.876 GB, free: 11.99 MB / 0.7013 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.000972/0.5493, allocations: 405.5 kB / 0.8764 GB, free: 11.59 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.5496, allocations: 142.3 kB / 0.8765 GB, free: 11.45 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00898/0.5586, allocations: 3.195 MB / 0.8796 GB, free: 8.211 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.5587, allocations: 11.94 kB / 0.8797 GB, free: 8.199 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.5587, allocations: 15.98 kB / 0.8797 GB, free: 8.184 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.5587, allocations: 4.172 kB / 0.8797 GB, free: 8.18 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.5709, allocations: 4.916 MB / 0.8845 GB, free: 3.141 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.571, allocations: 7.969 kB / 0.8845 GB, free: 3.133 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.5727, allocations: 351.4 kB / 0.8848 GB, free: 2.789 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.5752, allocations: 0.7013 MB / 0.8855 GB, free: 2.062 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.5753, allocations: 31.97 kB / 0.8855 GB, free: 2.031 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.5921, allocations: 15.54 MB / 0.9007 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5922, allocations: 4 kB / 0.9007 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0089/0.6011, allocations: 3.046 MB / 0.9037 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.6024, allocations: 379.2 kB / 0.904 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.6026, allocations: 20 kB / 0.9041 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/0.6046, allocations: 295.4 kB / 0.9043 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/0.605, allocations: 80.48 kB / 0.9044 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.6051, allocations: 39.97 kB / 0.9045 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001184/0.6063, allocations: 0.7366 MB / 0.9052 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6063, allocations: 0 / 0.9052 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002232/0.6085, allocations: 436 kB / 0.9056 GB, free: 12.26 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.000386/0.6089, allocations: 131.1 kB / 0.9057 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009968/0.6189, allocations: 3.762 MB / 0.9094 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/0.619, allocations: 0 / 0.9094 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005729/0.6247, allocations: 2.367 MB / 0.9117 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/0.6277, allocations: 0.5338 MB / 0.9122 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/0.6371, allocations: 3.458 MB / 0.9156 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.6388, allocations: 1.399 MB / 0.917 GB, free: 328 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.5229/1.162, allocations: 366.2 kB / 0.9173 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/1.162, allocations: 106.1 kB / 0.9174 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.373e-06/1.162, allocations: 2.281 kB / 0.9174 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.09623/1.259, allocations: 30.25 MB / 0.947 GB, free: 118.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)