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.001148/0.001148, allocations: 112.7 kB / 17.04 MB, free: 5.805 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.001137/0.001137, allocations: 195 kB / 17.98 MB, free: 5.031 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.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7147/0.7147, allocations: 115.1 MB / 407 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 64.25 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007069/0.338, allocations: 6.261 MB / 0.5637 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.3446, allocations: 4.536 MB / 0.5681 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006478/0.3452, allocations: 24.44 kB / 0.5681 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.3476, allocations: 0.9209 MB / 0.569 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.3498, allocations: 0.7679 MB / 0.5698 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.3506, allocations: 325 kB / 0.5701 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.3523, allocations: 1.127 MB / 0.5712 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.3534, allocations: 0.6991 MB / 0.5719 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008415/0.3542, allocations: 467.9 kB / 0.5723 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008564/0.3551, allocations: 0.4893 MB / 0.5728 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3552, allocations: 69.34 kB / 0.5729 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.3558, allocations: 281.5 kB / 0.5731 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.3561, allocations: 253.2 kB / 0.5734 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.3565, allocations: 411.8 kB / 0.5738 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3577, allocations: 1.069 MB / 0.5748 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3577, allocations: 0 / 0.5748 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3577, allocations: 2.156 kB / 0.5748 GB, free: 26.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3577, allocations: 0 / 0.5748 GB, free: 26.04 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.002236/0.36, allocations: 1.094 MB / 0.5759 GB, free: 25.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.36, allocations: 9.734 kB / 0.5759 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.3632, allocations: 0.6391 MB / 0.5765 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3643, allocations: 0.567 MB / 0.5771 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3644, allocations: 38.66 kB / 0.5771 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3645, allocations: 58.84 kB / 0.5772 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.3665, allocations: 1.018 MB / 0.5782 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3665, allocations: 0.9062 kB / 0.5782 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.3666, allocations: 19.69 kB / 0.5782 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.3667, allocations: 46.66 kB / 0.5782 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.369, allocations: 1.008 MB / 0.5792 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.3729, allocations: 3.483 MB / 0.5826 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.3746, allocations: 489.5 kB / 0.5831 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.3752, allocations: 229.1 kB / 0.5833 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.3752, allocations: 7.203 kB / 0.5833 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3753, allocations: 45.97 kB / 0.5833 GB, free: 21.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.574e-06/0.3753, allocations: 0 / 0.5833 GB, free: 21.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.00657/0.3819, allocations: 2.016 MB / 0.5853 GB, free: 20.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3819, allocations: 55.78 kB / 0.5854 GB, free: 20.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.3825, allocations: 0.5666 MB / 0.5859 GB, free: 19.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.3826, allocations: 35.95 kB / 0.586 GB, free: 19.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3827, allocations: 354.5 kB / 0.5863 GB, free: 19.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3828, allocations: 148.9 kB / 0.5864 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.383, allocations: 94.81 kB / 0.5865 GB, free: 19.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.3831, allocations: 373.5 kB / 0.5869 GB, free: 18.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.3837, allocations: 260.5 kB / 0.5871 GB, free: 18.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.3844, allocations: 364.4 kB / 0.5875 GB, free: 18.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3856, allocations: 0.6265 MB / 0.5881 GB, free: 18.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3856, allocations: 9 kB / 0.5881 GB, free: 18.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002241/0.3879, allocations: 0.9222 MB / 0.589 GB, free: 17.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3879, allocations: 6.594 kB / 0.589 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3879, allocations: 11.67 kB / 0.589 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.389, allocations: 272.6 kB / 0.5893 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.3897, allocations: 118.6 kB / 0.5894 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/0.395, allocations: 9.127 MB / 0.5983 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.3958, allocations: 40.61 kB / 0.5983 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.3958, allocations: 18.94 kB / 0.5984 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008655/0.3967, allocations: 442.5 kB / 0.5988 GB, free: 7.957 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006206/0.3973, allocations: 357.2 kB / 0.5991 GB, free: 7.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001239/0.3986, allocations: 0.6089 MB / 0.5997 GB, free: 7.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.045e-06/0.3986, allocations: 1.062 kB / 0.5997 GB, free: 7.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002406/0.401, allocations: 1.124 MB / 0.6008 GB, free: 6.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.401, allocations: 10.19 kB / 0.6008 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4011, allocations: 7.891 kB / 0.6008 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000762/0.4018, allocations: 221.5 kB / 0.601 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.4024, allocations: 123.8 kB / 0.6012 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/0.4077, allocations: 8.788 MB / 0.6097 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.4085, allocations: 35.95 kB / 0.6098 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.4086, allocations: 23.98 kB / 0.6098 GB, free: 12.55 MB / 462.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.0002715/0.4088, allocations: 218.3 kB / 0.61 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.409, allocations: 67.19 kB / 0.6101 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.4092, allocations: 78.38 kB / 0.6101 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4092, allocations: 8 kB / 0.6102 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.4092, allocations: 0 / 0.6102 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4092, allocations: 3.984 kB / 0.6102 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.4102, allocations: 0.6494 MB / 0.6108 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4102, allocations: 0 / 0.6108 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.4107, allocations: 95.84 kB / 0.6109 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009783/0.4117, allocations: 265 kB / 0.6111 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.4118, allocations: 8 kB / 0.6111 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006702/0.4185, allocations: 9.061 MB / 0.62 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4185, allocations: 0 / 0.62 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.4208, allocations: 0.9054 MB / 0.6209 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.4212, allocations: 184.2 kB / 0.6211 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.4213, allocations: 12 kB / 0.6211 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.4218, allocations: 35.95 kB / 0.6211 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.422, allocations: 47.91 kB / 0.6211 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.422, allocations: 12 kB / 0.6212 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005155/0.4225, allocations: 407.1 kB / 0.6215 GB, free: 15.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4226, allocations: 4 kB / 0.6215 GB, free: 15.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001189/0.4237, allocations: 300 kB / 0.6218 GB, free: 15.26 MB / 478.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.000147/0.4239, allocations: 111.2 kB / 0.6219 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003895/0.4278, allocations: 2.344 MB / 0.6242 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4278, allocations: 0 / 0.6242 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.4292, allocations: 1.008 MB / 0.6252 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4303, allocations: 239 kB / 0.6254 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.4329, allocations: 1.291 MB / 0.6267 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.4336, allocations: 0.9858 MB / 0.6277 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005584/0.4342, allocations: 153.4 kB / 0.6278 GB, free: 8.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4343, allocations: 43.38 kB / 0.6279 GB, free: 8.812 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4343, allocations: 4 kB / 0.6279 GB, free: 8.809 MB / 478.1 MB Notification: Performance of Templates: time 0.02132/0.4556, allocations: 13.45 MB / 0.641 GB, free: 11.52 MB / 494.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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)