Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 308.1 MB, free: 4.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 193.5 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 99.91 kB / 0.748 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2758, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02624/0.3021, allocations: 22.22 MB / 1.004 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02855/0.3307, allocations: 17.69 MB / 1.021 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.335, allocations: 107.4 kB / 1.021 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.5743/0.9093, allocations: 3.891 MB / 1.025 GB, free: 63.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.922, allocations: 3.206 MB / 1.028 GB, free: 63.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.9259, allocations: 1.183 MB / 1.029 GB, free: 63.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01163/0.9375, allocations: 6.897 MB / 1.036 GB, free: 63.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005704/0.9433, allocations: 2.462 MB / 1.039 GB, free: 63.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.9496, allocations: 2.095 MB / 1.041 GB, free: 63.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008448/0.9581, allocations: 2.414 MB / 1.043 GB, free: 62.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.9606, allocations: 216.6 kB / 1.043 GB, free: 62.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005606/0.9662, allocations: 1.095 MB / 1.044 GB, free: 62.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003101/0.9694, allocations: 1.032 MB / 1.045 GB, free: 62.33 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.006731/0.9761, allocations: 1.825 MB / 1.047 GB, free: 61.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008508/0.9847, allocations: 4.961 MB / 1.052 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.9847, allocations: 0 / 1.052 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9847, allocations: 0 / 1.052 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001833/0.9849, allocations: 0 / 1.052 GB, free: 60.96 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01118/0.9961, allocations: 4.388 MB / 1.056 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9962, allocations: 9.125 kB / 1.056 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/1.012, allocations: 3.259 MB / 1.059 GB, free: 58.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005991/1.018, allocations: 2.06 MB / 1.061 GB, free: 57.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/1.018, allocations: 183.1 kB / 1.061 GB, free: 57.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009168/1.019, allocations: 237.3 kB / 1.062 GB, free: 57.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.03, allocations: 4.683 MB / 1.066 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/1.03, allocations: 0.8438 kB / 1.066 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003616/1.031, allocations: 105 kB / 1.066 GB, free: 57.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/1.031, allocations: 172.4 kB / 1.067 GB, free: 57.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/1.044, allocations: 5.116 MB / 1.072 GB, free: 55.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/1.066, allocations: 14 MB / 1.085 GB, free: 45.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009892/1.076, allocations: 3.571 MB / 1.089 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/1.079, allocations: 1.388 MB / 1.09 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/1.079, allocations: 27.12 kB / 1.09 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003771/1.083, allocations: 1.708 MB / 1.092 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=163): time 4.449e-06/1.083, allocations: 0 / 1.092 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=250): time 0.1153/1.199, allocations: 27.4 MB / 1.119 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/1.199, allocations: 0.4933 MB / 1.119 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/1.203, allocations: 2.297 MB / 1.121 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006804/1.204, allocations: 76.86 kB / 1.121 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001775/1.206, allocations: 1.44 MB / 1.123 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.207, allocations: 0.8181 MB / 1.124 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/1.208, allocations: 413.3 kB / 1.124 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.209, allocations: 306.5 kB / 1.124 GB, free: 34.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006218/1.215, allocations: 1.754 MB / 1.126 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006157/1.221, allocations: 2.042 MB / 1.128 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.232, allocations: 3.837 MB / 1.132 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.232, allocations: 6.125 kB / 1.132 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01662/1.248, allocations: 5.811 MB / 1.137 GB, free: 29.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/1.248, allocations: 148.2 kB / 1.137 GB, free: 29.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.248, allocations: 10.45 kB / 1.138 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006618/1.255, allocations: 1.832 MB / 1.139 GB, free: 29.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/1.258, allocations: 0.4994 MB / 1.14 GB, free: 29.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/1.28, allocations: 14.07 MB / 1.154 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/1.285, allocations: 309.1 kB / 1.154 GB, free: 20.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/1.285, allocations: 90.5 kB / 1.154 GB, free: 20.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006027/1.291, allocations: 2.314 MB / 1.156 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004478/1.295, allocations: 2.029 MB / 1.158 GB, free: 18.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008872/1.304, allocations: 3.805 MB / 1.162 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.139e-05/1.304, allocations: 4 kB / 1.162 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.0135/1.318, allocations: 5.642 MB / 1.167 GB, free: 10 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/1.318, allocations: 144.5 kB / 1.168 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.318, allocations: 11.98 kB / 1.168 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005032/1.323, allocations: 1.673 MB / 1.169 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.326, allocations: 0.5187 MB / 1.17 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/1.344, allocations: 13.34 MB / 1.183 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.349, allocations: 311.6 kB / 1.183 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005884/1.349, allocations: 83.98 kB / 1.183 GB, free: 9.629 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0008906/1.35, allocations: 330 kB / 1.183 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.351, allocations: 332.1 kB / 1.184 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/1.353, allocations: 396.1 kB / 1.184 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/1.353, allocations: 27.98 kB / 1.184 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.644e-05/1.353, allocations: 8.812 kB / 1.184 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/1.353, allocations: 15.95 kB / 1.184 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/1.358, allocations: 3.173 MB / 1.187 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.358, allocations: 0 / 1.187 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.361, allocations: 435.9 kB / 1.188 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005885/1.366, allocations: 1.7 MB / 1.189 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/1.367, allocations: 51.97 kB / 1.189 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/1.387, allocations: 13.86 MB / 1.203 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.387, allocations: 0 / 1.203 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/1.41, allocations: 8.943 MB / 1.212 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.412, allocations: 0.6648 MB / 1.212 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005865/1.412, allocations: 44 kB / 1.212 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.415, allocations: 303.6 kB / 1.213 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009692/1.416, allocations: 286.7 kB / 1.213 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.416, allocations: 67.97 kB / 1.213 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002292/1.419, allocations: 1.536 MB / 1.214 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.61e-07/1.419, allocations: 4 kB / 1.214 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005117/1.424, allocations: 1.645 MB / 1.216 GB, free: 7.465 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/1.424, allocations: 168.6 kB / 1.216 GB, free: 7.293 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02316/1.447, allocations: 9.272 MB / 1.225 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.448, allocations: 3.562 kB / 1.225 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008237/1.456, allocations: 3.296 MB / 1.228 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/1.461, allocations: 1.054 MB / 1.23 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.479, allocations: 9.062 MB / 1.238 GB, free: 424 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/1.482, allocations: 2.379 MB / 1.241 GB, free: 14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003586/1.485, allocations: 0.6296 MB / 1.241 GB, free: 13.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007757/1.486, allocations: 183.3 kB / 1.241 GB, free: 13.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.011e-06/1.486, allocations: 0 / 1.241 GB, free: 13.2 MB / 0.823 GB Notification: Performance of Templates: time 0.1384/1.624, allocations: 78.79 MB / 1.318 GB, free: 15.22 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)