Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009771/0.0009772, allocations: 90.67 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.01062/0.01062, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005707/0.0005708, allocations: 10.09 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3694, allocations: 162.1 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02552/0.395, allocations: 21.68 MB / 1.095 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02797/0.423, allocations: 17.39 MB / 1.112 GB, free: 380 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/0.4264, allocations: 99.44 kB / 1.112 GB, free: 280 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.4293, allocations: 0.5814 MB / 1.113 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.4402, allocations: 3.203 MB / 1.116 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.4439, allocations: 1.192 MB / 1.117 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.4542, allocations: 6.848 MB / 1.124 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/0.459, allocations: 2.499 MB / 1.126 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.4631, allocations: 1.945 MB / 1.128 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004641/0.4678, allocations: 2.249 MB / 1.13 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.469, allocations: 164 kB / 1.131 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.4723, allocations: 1.045 MB / 1.132 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.4737, allocations: 0.9379 MB / 1.133 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.4765, allocations: 1.75 MB / 1.134 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006528/0.4831, allocations: 4.826 MB / 1.139 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4831, allocations: 0 / 1.139 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4831, allocations: 0 / 1.139 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001405/0.4833, allocations: 0 / 1.139 GB, free: 4.859 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.008495/0.4918, allocations: 3.835 MB / 1.143 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4918, allocations: 8.031 kB / 1.143 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/0.5093, allocations: 3.363 MB / 1.146 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.5138, allocations: 2.06 MB / 1.148 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.514, allocations: 181.1 kB / 1.148 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006445/0.5146, allocations: 236.1 kB / 1.148 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.5264, allocations: 4.752 MB / 1.153 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.5265, allocations: 0 / 1.153 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/0.5268, allocations: 107.9 kB / 1.153 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.5271, allocations: 172.8 kB / 1.153 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.5422, allocations: 5.241 MB / 1.158 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/0.567, allocations: 14.12 MB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.5789, allocations: 3.853 MB / 1.176 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/0.5832, allocations: 1.518 MB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.5834, allocations: 29.22 kB / 1.178 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004379/0.5878, allocations: 1.833 MB / 1.179 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 5.4e-06/0.5878, allocations: 3.984 kB / 1.179 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1346/0.7224, allocations: 33.42 MB / 1.212 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002471/0.7227, allocations: 0.4928 MB / 1.212 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.7264, allocations: 2.304 MB / 1.215 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003759/0.7268, allocations: 77.7 kB / 1.215 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.7281, allocations: 1.43 MB / 1.216 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009268/0.729, allocations: 0.8163 MB / 1.217 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.7294, allocations: 194.4 kB / 1.217 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.7295, allocations: 305.1 kB / 1.217 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005456/0.735, allocations: 1.929 MB / 1.219 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005615/0.7406, allocations: 2.235 MB / 1.221 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.7515, allocations: 4.22 MB / 1.226 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.7516, allocations: 0 / 1.226 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01813/0.7697, allocations: 6.196 MB / 1.232 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003633/0.7701, allocations: 408.8 kB / 1.232 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.7702, allocations: 8 kB / 1.232 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007011/0.7772, allocations: 1.848 MB / 1.234 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.7805, allocations: 0.589 MB / 1.234 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02463/0.8052, allocations: 14.2 MB / 1.248 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/0.8094, allocations: 403.6 kB / 1.249 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/0.8099, allocations: 87.97 kB / 1.249 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.8099, allocations: 4 kB / 1.249 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6436/1.453, allocations: 5.785 MB / 1.254 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.454, allocations: 7.891 kB / 1.254 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00585/1.459, allocations: 1.815 MB / 1.256 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/1.463, allocations: 0.6131 MB / 1.257 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/1.485, allocations: 13.45 MB / 1.27 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/1.49, allocations: 407.8 kB / 1.27 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003962/1.49, allocations: 88.16 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.002092/1.492, allocations: 0.7767 MB / 1.271 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.493, allocations: 331.9 kB / 1.271 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/1.494, allocations: 399 kB / 1.272 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/1.494, allocations: 24.19 kB / 1.272 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.874e-05/1.494, allocations: 13.61 kB / 1.272 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.535e-05/1.494, allocations: 14.39 kB / 1.272 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/1.5, allocations: 3.166 MB / 1.275 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.5, allocations: 2.594 kB / 1.275 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/1.503, allocations: 0.5158 MB / 1.276 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006653/1.51, allocations: 1.716 MB / 1.277 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/1.51, allocations: 50.81 kB / 1.277 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02263/1.533, allocations: 13.97 MB / 1.291 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.533, allocations: 1.125 kB / 1.291 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/1.548, allocations: 5.812 MB / 1.297 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.55, allocations: 0.6645 MB / 1.297 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005824/1.551, allocations: 50.36 kB / 1.297 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/1.554, allocations: 394 kB / 1.298 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001379/1.556, allocations: 296.8 kB / 1.298 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.556, allocations: 68.53 kB / 1.298 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002655/1.559, allocations: 1.536 MB / 1.299 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.559, allocations: 4 kB / 1.299 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005235/1.564, allocations: 1.618 MB / 1.301 GB, free: 145.8 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.0003618/1.564, allocations: 170.6 kB / 1.301 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0286/1.593, allocations: 10.1 MB / 1.311 GB, free: 141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.593, allocations: 0 / 1.311 GB, free: 141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01155/1.604, allocations: 3.499 MB / 1.315 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008817/1.613, allocations: 1.043 MB / 1.316 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/1.638, allocations: 7.961 MB / 1.323 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/1.641, allocations: 2.304 MB / 1.326 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006682/1.648, allocations: 0.634 MB / 1.326 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.649, allocations: 179.4 kB / 1.326 GB, free: 127 MB / 0.9981 GB Notification: Performance of SimCode: time 1.643e-06/1.65, allocations: 0 / 1.326 GB, free: 127 MB / 0.9981 GB Notification: Performance of Templates: time 0.1239/1.773, allocations: 76.12 MB / 1.401 GB, free: 51.76 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)