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.001271/0.001271, allocations: 117.9 kB / 17.09 MB, free: 5.957 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.001207/0.001207, allocations: 196.6 kB / 18.02 MB, free: 5.035 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.263/1.263, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6954/0.6954, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.17 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1273, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007083/0.1344, allocations: 6.268 MB / 0.6388 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005921/0.1404, allocations: 4.542 MB / 0.6433 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.1408, allocations: 27.88 kB / 0.6433 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.1431, allocations: 0.9131 MB / 0.6442 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.1448, allocations: 0.7841 MB / 0.645 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.1455, allocations: 319.5 kB / 0.6453 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.1466, allocations: 1.14 MB / 0.6464 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000788/0.1474, allocations: 0.6771 MB / 0.647 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.1479, allocations: 490.3 kB / 0.6475 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.1485, allocations: 0.4903 MB / 0.648 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.1486, allocations: 68 kB / 0.648 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.149, allocations: 283.5 kB / 0.6483 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.1492, allocations: 247.2 kB / 0.6486 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.1496, allocations: 410 kB / 0.6489 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009357/0.1505, allocations: 1.075 MB / 0.65 GB, free: 2.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1505, allocations: 0 / 0.65 GB, free: 2.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1506, allocations: 0 / 0.65 GB, free: 2.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1506, allocations: 4 kB / 0.65 GB, free: 2.637 MB / 494.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.001592/0.1522, allocations: 1.09 MB / 0.6511 GB, free: 1.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1522, allocations: 8.031 kB / 0.6511 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.1552, allocations: 0.6359 MB / 0.6517 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.156, allocations: 0.5735 MB / 0.6522 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.156, allocations: 41.67 kB / 0.6523 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.1561, allocations: 60.05 kB / 0.6523 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.1579, allocations: 1.022 MB / 0.6533 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.158, allocations: 0 / 0.6533 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.158, allocations: 19.98 kB / 0.6534 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/0.1581, allocations: 49.28 kB / 0.6534 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.1603, allocations: 1.008 MB / 0.6544 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.1639, allocations: 3.474 MB / 0.6578 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1653, allocations: 498.3 kB / 0.6583 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.1659, allocations: 228.7 kB / 0.6585 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1659, allocations: 7.984 kB / 0.6585 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1659, allocations: 34.56 kB / 0.6585 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.512e-06/0.166, allocations: 4 kB / 0.6585 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006397/0.1724, allocations: 2.021 MB / 0.6605 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1724, allocations: 55.41 kB / 0.6606 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.173, allocations: 0.5627 MB / 0.6611 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.1731, allocations: 37.7 kB / 0.6611 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1733, allocations: 356.2 kB / 0.6615 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1734, allocations: 153.8 kB / 0.6616 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1736, allocations: 90.16 kB / 0.6617 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1737, allocations: 374.7 kB / 0.6621 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.1744, allocations: 262.8 kB / 0.6623 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.1751, allocations: 365.8 kB / 0.6627 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.1764, allocations: 0.6187 MB / 0.6633 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1764, allocations: 0 / 0.6633 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002223/0.1787, allocations: 0.9313 MB / 0.6642 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1787, allocations: 12.03 kB / 0.6642 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1787, allocations: 4 kB / 0.6642 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.1798, allocations: 276.8 kB / 0.6645 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.1804, allocations: 115.8 kB / 0.6646 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/0.187, allocations: 9.12 MB / 0.6735 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.1876, allocations: 39.98 kB / 0.6735 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.1877, allocations: 19.98 kB / 0.6735 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008448/0.1885, allocations: 441 kB / 0.674 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006717/0.1892, allocations: 357.4 kB / 0.6743 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001281/0.1905, allocations: 0.6129 MB / 0.6749 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.1905, allocations: 4 kB / 0.6749 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002315/0.1928, allocations: 1.113 MB / 0.676 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1929, allocations: 7.938 kB / 0.676 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1929, allocations: 4 kB / 0.676 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007333/0.1936, allocations: 221.2 kB / 0.6762 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.1942, allocations: 123.8 kB / 0.6763 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005696/0.1999, allocations: 8.803 MB / 0.6849 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.2005, allocations: 43.98 kB / 0.685 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.2005, allocations: 15.98 kB / 0.685 GB, free: 12.25 MB / 0.5294 GB 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.0001917/0.2007, allocations: 216.9 kB / 0.6852 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2008, allocations: 67.25 kB / 0.6852 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.201, allocations: 78.38 kB / 0.6853 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.201, allocations: 4 kB / 0.6853 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.201, allocations: 7.938 kB / 0.6853 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.201, allocations: 3.984 kB / 0.6853 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/0.2018, allocations: 0.6377 MB / 0.686 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2018, allocations: 0 / 0.686 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.2023, allocations: 95.84 kB / 0.6861 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008686/0.2031, allocations: 257 kB / 0.6863 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.2032, allocations: 11.97 kB / 0.6863 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006178/0.2094, allocations: 9.066 MB / 0.6952 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2094, allocations: 0 / 0.6952 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.2115, allocations: 0.9169 MB / 0.6961 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.2118, allocations: 188.2 kB / 0.6962 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.2119, allocations: 8 kB / 0.6962 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.2123, allocations: 39.94 kB / 0.6963 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2125, allocations: 35.95 kB / 0.6963 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.2125, allocations: 8 kB / 0.6963 GB, free: 15.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004472/0.2129, allocations: 411.1 kB / 0.6967 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.213, allocations: 4 kB / 0.6967 GB, free: 15.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001039/0.214, allocations: 300 kB / 0.697 GB, free: 14.97 MB / 0.545 GB 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.0001342/0.2141, allocations: 107.5 kB / 0.6971 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003777/0.2179, allocations: 2.36 MB / 0.6994 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2179, allocations: 0 / 0.6994 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.2193, allocations: 0.9921 MB / 0.7004 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.2203, allocations: 234.1 kB / 0.7006 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.2227, allocations: 1.351 MB / 0.7019 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.2234, allocations: 0.9819 MB / 0.7029 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2236, allocations: 51.42 kB / 0.7029 GB, free: 8.598 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.2236, allocations: 0 / 0.7029 GB, free: 8.598 MB / 0.545 GB Notification: Performance of Templates: time 0.02829/0.2519, allocations: 27.01 MB / 0.7293 GB, free: 13.62 MB / 0.5762 GB 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)