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.001605/0.001605, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001805/0.001806, allocations: 191.3 kB / 16.13 MB, free: 6.652 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.874/1.874, allocations: 205.1 MB / 222 MB, free: 4.973 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.802/1.802, allocations: 292.3 MB / 0.5484 GB, free: 13.71 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.001585/0.001585, allocations: 60.7 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3178, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01625/0.3341, allocations: 10.78 MB / 0.7932 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.3493, allocations: 8.86 MB / 0.8019 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.352, allocations: 51.62 kB / 0.8019 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005818/0.3579, allocations: 1.56 MB / 0.8034 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008033/0.366, allocations: 1.383 MB / 0.8048 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.3693, allocations: 0.6191 MB / 0.8054 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004547/0.3738, allocations: 2.91 MB / 0.8082 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.3771, allocations: 1.332 MB / 0.8095 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.3796, allocations: 0.887 MB / 0.8104 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.3821, allocations: 1.019 MB / 0.8114 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004984/0.3826, allocations: 88 kB / 0.8115 GB, free: 436 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.385, allocations: 0.9201 MB / 0.8124 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.3862, allocations: 0.5178 MB / 0.8129 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.3878, allocations: 0.8276 MB / 0.8137 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.3914, allocations: 2.542 MB / 0.8162 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3914, allocations: 0 / 0.8162 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3914, allocations: 0 / 0.8162 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.3915, allocations: 0 / 0.8162 GB, free: 11.6 MB / 0.6387 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.00364/0.3951, allocations: 2.018 MB / 0.8181 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3952, allocations: 12.03 kB / 0.8181 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.4055, allocations: 2.042 MB / 0.8201 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.4081, allocations: 1.134 MB / 0.8213 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.4082, allocations: 82.69 kB / 0.8213 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.4085, allocations: 120.1 kB / 0.8214 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.4141, allocations: 2.478 MB / 0.8239 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/0.4142, allocations: 19.81 kB / 0.8239 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.4143, allocations: 55.98 kB / 0.8239 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003707/0.4147, allocations: 126.1 kB / 0.8241 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006625/0.4214, allocations: 2.537 MB / 0.8265 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.435, allocations: 10.07 MB / 0.8364 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.4406, allocations: 1.948 MB / 0.8383 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/0.4431, allocations: 0.9738 MB / 0.8392 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.4431, allocations: 4.438 kB / 0.8392 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4432, allocations: 39 kB / 0.8393 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/0.4432, allocations: 0 / 0.8393 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02958/0.4728, allocations: 8.714 MB / 0.8478 GB, free: 10.19 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.4728, allocations: 64.06 kB / 0.8478 GB, free: 10.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.4749, allocations: 1.101 MB / 0.8489 GB, free: 8.996 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.475, allocations: 41.7 kB / 0.8489 GB, free: 8.949 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006631/0.4757, allocations: 0.734 MB / 0.8497 GB, free: 8.207 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.476, allocations: 280 kB / 0.8499 GB, free: 7.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.4765, allocations: 202.4 kB / 0.8501 GB, free: 7.727 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4766, allocations: 342 kB / 0.8505 GB, free: 7.387 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/0.4795, allocations: 1.071 MB / 0.8515 GB, free: 6.312 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/0.4824, allocations: 1.309 MB / 0.8528 GB, free: 4.906 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/0.488, allocations: 2.386 MB / 0.8551 GB, free: 2.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.488, allocations: 0 / 0.8551 GB, free: 2.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008687/0.4967, allocations: 3.272 MB / 0.8583 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.4968, allocations: 11.94 kB / 0.8583 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4968, allocations: 8 kB / 0.8583 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.4998, allocations: 0.7915 MB / 0.8591 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.5016, allocations: 423.2 kB / 0.8595 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.5172, allocations: 14.7 MB / 0.8739 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.5195, allocations: 291.5 kB / 0.8741 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/0.5198, allocations: 51.97 kB / 0.8742 GB, free: 13.77 MB / 0.7012 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.0009191/0.5207, allocations: 405.1 kB / 0.8746 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.5211, allocations: 142.3 kB / 0.8747 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008441/0.5296, allocations: 3.206 MB / 0.8778 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5296, allocations: 8 kB / 0.8778 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/0.5296, allocations: 12 kB / 0.8779 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5297, allocations: 3.984 kB / 0.8779 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.541, allocations: 4.912 MB / 0.8827 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.541, allocations: 4 kB / 0.8827 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.5425, allocations: 351.4 kB / 0.883 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/0.5451, allocations: 0.7021 MB / 0.8837 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.5453, allocations: 31.97 kB / 0.8837 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/0.5614, allocations: 14.32 MB / 0.8977 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.5615, allocations: 4 kB / 0.8977 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008095/0.5696, allocations: 3.03 MB / 0.9007 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/0.5705, allocations: 383.2 kB / 0.901 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/0.571, allocations: 27.92 kB / 0.901 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/0.573, allocations: 291.5 kB / 0.9013 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/0.5733, allocations: 72.55 kB / 0.9014 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.5734, allocations: 47.91 kB / 0.9014 GB, free: 492 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001414/0.5748, allocations: 0.7405 MB / 0.9022 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5749, allocations: 0 / 0.9022 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002004/0.5769, allocations: 435.9 kB / 0.9026 GB, free: 15.31 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.0003724/0.5772, allocations: 131.1 kB / 0.9027 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00824/0.5855, allocations: 3.617 MB / 0.9062 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.5855, allocations: 4 kB / 0.9062 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004803/0.5904, allocations: 2.364 MB / 0.9085 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.5934, allocations: 496.6 kB / 0.909 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008696/0.6021, allocations: 4.06 MB / 0.913 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.6037, allocations: 1.392 MB / 0.9143 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00196/0.6056, allocations: 379.8 kB / 0.9147 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.6061, allocations: 107.4 kB / 0.9148 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of SimCode: time 1.472e-06/0.6061, allocations: 0 / 0.9148 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of Templates: time 0.4535/1.06, allocations: 29.3 MB / 0.9434 GB, free: 120.5 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)