Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.01123/0.01123, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.505/1.505, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004183, allocations: 13.02 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.368, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02344/0.3915, allocations: 21.68 MB / 1.095 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.4166, allocations: 17.39 MB / 1.112 GB, free: 336 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.4204, allocations: 99.44 kB / 1.112 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.4229, allocations: 0.5852 MB / 1.113 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.434, allocations: 3.211 MB / 1.116 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.4378, allocations: 1.175 MB / 1.117 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.4484, allocations: 6.845 MB / 1.124 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/0.4524, allocations: 2.503 MB / 1.126 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.4563, allocations: 1.945 MB / 1.128 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/0.4605, allocations: 2.237 MB / 1.13 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007397/0.4613, allocations: 164 kB / 1.131 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.4638, allocations: 1.049 MB / 1.132 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.4649, allocations: 0.9457 MB / 1.133 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.4674, allocations: 1.742 MB / 1.134 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.4734, allocations: 4.834 MB / 1.139 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4735, allocations: 0 / 1.139 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4735, allocations: 0 / 1.139 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001481/0.4736, allocations: 0 / 1.139 GB, free: 4.816 MB / 0.8887 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.008208/0.4819, allocations: 3.834 MB / 1.143 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4819, allocations: 12.03 kB / 1.143 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/0.4993, allocations: 3.359 MB / 1.146 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/0.5038, allocations: 2.057 MB / 1.148 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.504, allocations: 177.1 kB / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005917/0.5046, allocations: 244.1 kB / 1.148 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.5172, allocations: 4.752 MB / 1.153 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.5173, allocations: 3.938 kB / 1.153 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.5177, allocations: 108 kB / 1.153 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/0.5179, allocations: 168.8 kB / 1.153 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.5327, allocations: 5.237 MB / 1.158 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/0.5541, allocations: 14.12 MB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.5656, allocations: 3.861 MB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/0.5695, allocations: 1.514 MB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.5696, allocations: 29.23 kB / 1.178 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004327/0.5739, allocations: 1.834 MB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 3.787e-06/0.5739, allocations: 0 / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1318/0.7057, allocations: 33.43 MB / 1.212 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002786/0.7061, allocations: 0.4889 MB / 1.212 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/0.7095, allocations: 2.304 MB / 1.215 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003939/0.7099, allocations: 69.7 kB / 1.215 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.7111, allocations: 1.442 MB / 1.216 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/0.7119, allocations: 0.8124 MB / 1.217 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.7123, allocations: 186.4 kB / 1.217 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7124, allocations: 309.1 kB / 1.217 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005217/0.7176, allocations: 1.929 MB / 1.219 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005468/0.7231, allocations: 2.237 MB / 1.221 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.7337, allocations: 4.216 MB / 1.226 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.7338, allocations: 8 kB / 1.226 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01666/0.7504, allocations: 6.196 MB / 1.232 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.7507, allocations: 399.2 kB / 1.232 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.7507, allocations: 8 kB / 1.232 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006851/0.7576, allocations: 1.856 MB / 1.234 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/0.7609, allocations: 0.5929 MB / 1.234 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.7839, allocations: 14.19 MB / 1.248 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/0.788, allocations: 407.6 kB / 1.249 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/0.7883, allocations: 87.97 kB / 1.249 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.7884, allocations: 5.875 kB / 1.249 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6937/1.482, allocations: 5.777 MB / 1.254 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/1.482, allocations: 5.594 kB / 1.254 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/1.488, allocations: 1.827 MB / 1.256 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/1.491, allocations: 0.6101 MB / 1.257 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/1.513, allocations: 13.45 MB / 1.27 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/1.517, allocations: 411.3 kB / 1.27 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/1.517, allocations: 87.83 kB / 1.27 GB, free: 158.6 MB / 0.9981 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.002/1.519, allocations: 0.7772 MB / 1.271 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008325/1.52, allocations: 331.7 kB / 1.271 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008998/1.521, allocations: 394.4 kB / 1.272 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.521, allocations: 26.58 kB / 1.272 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-05/1.521, allocations: 13.59 kB / 1.272 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/1.521, allocations: 12.42 kB / 1.272 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/1.526, allocations: 3.165 MB / 1.275 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.526, allocations: 0 / 1.275 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/1.529, allocations: 0.5184 MB / 1.276 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006537/1.535, allocations: 1.717 MB / 1.277 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/1.536, allocations: 51.39 kB / 1.277 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/1.556, allocations: 13.97 MB / 1.291 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.556, allocations: 1.75 kB / 1.291 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/1.572, allocations: 5.813 MB / 1.297 GB, free: 147 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.574, allocations: 0.6667 MB / 1.297 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005979/1.574, allocations: 43.84 kB / 1.297 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003334/1.578, allocations: 398.8 kB / 1.298 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.579, allocations: 293 kB / 1.298 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.579, allocations: 70.25 kB / 1.298 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002289/1.581, allocations: 1.537 MB / 1.299 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.581, allocations: 4 kB / 1.299 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005425/1.587, allocations: 1.618 MB / 1.301 GB, free: 145.7 MB / 0.9981 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.0005059/1.587, allocations: 166.5 kB / 1.301 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02268/1.61, allocations: 10.1 MB / 1.311 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.61, allocations: 0 / 1.311 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007917/1.618, allocations: 3.506 MB / 1.315 GB, free: 139 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/1.623, allocations: 1.04 MB / 1.316 GB, free: 138 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.635, allocations: 7.96 MB / 1.323 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.637, allocations: 2.308 MB / 1.326 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003067/1.64, allocations: 0.6367 MB / 1.326 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/1.641, allocations: 179.4 kB / 1.326 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.994e-06/1.641, allocations: 0 / 1.326 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.1082/1.749, allocations: 76.11 MB / 1.401 GB, free: 51.71 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)