Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007699/0.0007699, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008683/0.0008684, allocations: 182.7 kB / 16.92 MB, free: 6.934 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6999/0.6999, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 8.75 kB / 495.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 77.55 MB / 0.56 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.006917/0.1688, allocations: 5.851 MB / 0.5657 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007365/0.1762, allocations: 4.465 MB / 0.57 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.177, allocations: 23.88 kB / 0.5701 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.1776, allocations: 138.9 kB / 0.5702 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.1801, allocations: 0.7113 MB / 0.5709 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.1809, allocations: 283.6 kB / 0.5712 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.183, allocations: 1.437 MB / 0.5726 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.1839, allocations: 0.5457 MB / 0.5731 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/0.1846, allocations: 394.4 kB / 0.5735 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.1856, allocations: 489.9 kB / 0.5739 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1857, allocations: 32 kB / 0.574 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007974/0.1865, allocations: 303.4 kB / 0.5743 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.1868, allocations: 211.3 kB / 0.5745 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.1873, allocations: 387.7 kB / 0.5748 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1885, allocations: 1.031 MB / 0.5758 GB, free: 8.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1885, allocations: 0 / 0.5758 GB, free: 8.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1885, allocations: 0 / 0.5758 GB, free: 8.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.1886, allocations: 0 / 0.5758 GB, free: 8.719 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00176/0.1903, allocations: 0.9622 MB / 0.5768 GB, free: 7.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1904, allocations: 12.03 kB / 0.5768 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.1939, allocations: 0.6475 MB / 0.5774 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.1948, allocations: 0.5423 MB / 0.5779 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.1948, allocations: 45.69 kB / 0.578 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.1949, allocations: 56.11 kB / 0.578 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.1971, allocations: 1.022 MB / 0.579 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1972, allocations: 0 / 0.579 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.1972, allocations: 24 kB / 0.5791 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/0.1973, allocations: 49.28 kB / 0.5791 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.2001, allocations: 1.02 MB / 0.5801 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.2048, allocations: 3.517 MB / 0.5835 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2885/0.4933, allocations: 0.5123 MB / 0.584 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/0.4942, allocations: 242.5 kB / 0.5843 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.4942, allocations: 3.859 kB / 0.5843 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.4943, allocations: 40.84 kB / 0.5843 GB, free: 30.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.4943, allocations: 5.828 kB / 0.5843 GB, free: 30.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.007878/0.5022, allocations: 2.223 MB / 0.5865 GB, free: 30.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.5023, allocations: 59.67 kB / 0.5866 GB, free: 30.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.5031, allocations: 0.5716 MB / 0.5871 GB, free: 30.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.5031, allocations: 34.45 kB / 0.5871 GB, free: 30.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.5034, allocations: 356.8 kB / 0.5875 GB, free: 30.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.5036, allocations: 148 kB / 0.5876 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.5037, allocations: 42.88 kB / 0.5877 GB, free: 30.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5038, allocations: 374.6 kB / 0.588 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/0.5046, allocations: 277.3 kB / 0.5883 GB, free: 29.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008538/0.5055, allocations: 384.6 kB / 0.5887 GB, free: 29.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.507, allocations: 0.6715 MB / 0.5893 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5071, allocations: 4.156 kB / 0.5893 GB, free: 29.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002752/0.5098, allocations: 0.9737 MB / 0.5903 GB, free: 29.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.119e-05/0.5099, allocations: 188.5 kB / 0.5904 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5099, allocations: 3 kB / 0.5904 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.5112, allocations: 278.7 kB / 0.5907 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/0.5118, allocations: 133.4 kB / 0.5908 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.5177, allocations: 8.485 MB / 0.5991 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.5185, allocations: 56.64 kB / 0.5992 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.5185, allocations: 19.61 kB / 0.5992 GB, free: 20.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5185, allocations: 3.938 kB / 0.5992 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002648/0.5212, allocations: 1.085 MB / 0.6003 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.5212, allocations: 3.812 kB / 0.6003 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008275/0.522, allocations: 228.8 kB / 0.6005 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.5227, allocations: 133.2 kB / 0.6006 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004978/0.5277, allocations: 8.166 MB / 0.6086 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.5284, allocations: 57.17 kB / 0.6086 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.5285, allocations: 18.48 kB / 0.6087 GB, free: 11.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004592/0.5289, allocations: 313.3 kB / 0.609 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5291, allocations: 63.97 kB / 0.609 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.5293, allocations: 88.8 kB / 0.6091 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.5293, allocations: 3.656 kB / 0.6091 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.5293, allocations: 3.094 kB / 0.6091 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.5293, allocations: 2.344 kB / 0.6091 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.5302, allocations: 0.6429 MB / 0.6097 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5302, allocations: 0 / 0.6097 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.5307, allocations: 101.5 kB / 0.6098 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009994/0.5318, allocations: 258.3 kB / 0.6101 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.5318, allocations: 11.62 kB / 0.6101 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.5372, allocations: 8.434 MB / 0.6183 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5373, allocations: 0 / 0.6183 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.5398, allocations: 0.9644 MB / 0.6193 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.5401, allocations: 185.8 kB / 0.6194 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.5402, allocations: 9.891 kB / 0.6195 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.5407, allocations: 51.36 kB / 0.6195 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.5409, allocations: 35.86 kB / 0.6195 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.5409, allocations: 20.42 kB / 0.6196 GB, free: 2.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005106/0.5414, allocations: 402.4 kB / 0.6199 GB, free: 2.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5415, allocations: 5.125 kB / 0.6199 GB, free: 2.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001175/0.5426, allocations: 300.5 kB / 0.6202 GB, free: 2.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001424/0.5428, allocations: 106.1 kB / 0.6203 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003697/0.5465, allocations: 2.416 MB / 0.6227 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5465, allocations: 1.531 kB / 0.6227 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.548, allocations: 1.029 MB / 0.6237 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5491, allocations: 209.8 kB / 0.6239 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.5522, allocations: 1.605 MB / 0.6255 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.5529, allocations: 0.9858 MB / 0.6264 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006258/0.5535, allocations: 154 kB / 0.6266 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.5537, allocations: 42.81 kB / 0.6266 GB, free: 13.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5537, allocations: 0 / 0.6266 GB, free: 13.82 MB / 462.1 MB Notification: Performance of Templates: time 0.02267/0.5763, allocations: 12.84 MB / 0.6392 GB, free: 7.359 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)