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.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 61.48 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3427, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02588/0.3686, allocations: 22.62 MB / 1.09 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02492/0.3936, allocations: 17.63 MB / 1.107 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.3974, allocations: 115.4 kB / 1.108 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.4082, allocations: 4.169 MB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.4191, allocations: 3.509 MB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.4236, allocations: 1.317 MB / 1.116 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.4345, allocations: 5.555 MB / 1.122 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006691/0.4413, allocations: 3.542 MB / 1.125 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.4455, allocations: 2.285 MB / 1.127 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.45, allocations: 2.413 MB / 1.13 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.4513, allocations: 352 kB / 1.13 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.4545, allocations: 1.018 MB / 1.131 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.4564, allocations: 1.16 MB / 1.132 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003485/0.4599, allocations: 1.955 MB / 1.134 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008809/0.4687, allocations: 5.003 MB / 1.139 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.4688, allocations: 0 / 1.139 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4688, allocations: 0 / 1.139 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001081/0.4689, allocations: 0 / 1.139 GB, free: 1.523 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.009314/0.4782, allocations: 4.386 MB / 1.143 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4783, allocations: 12.03 kB / 1.143 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.4948, allocations: 3.257 MB / 1.147 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/0.4996, allocations: 2.06 MB / 1.149 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.4998, allocations: 181.1 kB / 1.149 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007264/0.5006, allocations: 236.1 kB / 1.149 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.5118, allocations: 4.689 MB / 1.154 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.5119, allocations: 0 / 1.154 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.5122, allocations: 104 kB / 1.154 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.5124, allocations: 172.8 kB / 1.154 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.5268, allocations: 5.124 MB / 1.159 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/0.5492, allocations: 14 MB / 1.172 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.5606, allocations: 3.565 MB / 1.176 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003984/0.5646, allocations: 1.389 MB / 1.177 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.5647, allocations: 25.23 kB / 1.177 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004203/0.569, allocations: 1.704 MB / 1.179 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 3.516e-06/0.569, allocations: 0 / 1.179 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1297/0.6987, allocations: 27.43 MB / 1.206 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002996/0.699, allocations: 0.4889 MB / 1.206 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.7026, allocations: 2.296 MB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/0.7031, allocations: 77.69 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.7044, allocations: 1.438 MB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009349/0.7054, allocations: 0.8162 MB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008054/0.7062, allocations: 416.4 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.7063, allocations: 305.1 kB / 1.211 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005143/0.7114, allocations: 1.751 MB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005617/0.7171, allocations: 2.052 MB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/0.7276, allocations: 3.837 MB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.7277, allocations: 4 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01751/0.7452, allocations: 5.802 MB / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.7454, allocations: 148.5 kB / 1.225 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.7454, allocations: 4 kB / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.752, allocations: 1.852 MB / 1.227 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.7552, allocations: 0.4914 MB / 1.227 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02458/0.7798, allocations: 15.43 MB / 1.242 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/0.7838, allocations: 311.6 kB / 1.242 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.7841, allocations: 87.97 kB / 1.242 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006019/0.7901, allocations: 2.323 MB / 1.245 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005252/0.7954, allocations: 2.028 MB / 1.247 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5521/1.348, allocations: 3.792 MB / 1.25 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.664e-05/1.348, allocations: 0.7812 kB / 1.25 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01571/1.363, allocations: 5.646 MB / 1.256 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/1.363, allocations: 147.3 kB / 1.256 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.363, allocations: 12.84 kB / 1.256 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/1.369, allocations: 1.686 MB / 1.258 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/1.372, allocations: 0.515 MB / 1.258 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/1.394, allocations: 14.61 MB / 1.273 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/1.398, allocations: 313.4 kB / 1.273 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/1.398, allocations: 88.89 kB / 1.273 GB, free: 159 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.0006739/1.399, allocations: 317.7 kB / 1.273 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/1.4, allocations: 330.1 kB / 1.274 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008988/1.4, allocations: 398.8 kB / 1.274 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.401, allocations: 24.67 kB / 1.274 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-05/1.401, allocations: 20.09 kB / 1.274 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/1.401, allocations: 12 kB / 1.274 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/1.405, allocations: 3.164 MB / 1.277 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.405, allocations: 0 / 1.277 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/1.408, allocations: 435.9 kB / 1.277 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006246/1.414, allocations: 1.712 MB / 1.279 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/1.415, allocations: 54.59 kB / 1.279 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02265/1.437, allocations: 15.23 MB / 1.294 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.437, allocations: 0 / 1.294 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.452, allocations: 5.415 MB / 1.299 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.454, allocations: 0.662 MB / 1.3 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000637/1.455, allocations: 43.84 kB / 1.3 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/1.458, allocations: 304.8 kB / 1.3 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009403/1.459, allocations: 292 kB / 1.301 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.459, allocations: 72.48 kB / 1.301 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001894/1.461, allocations: 1.538 MB / 1.302 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.461, allocations: 0 / 1.302 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004442/1.465, allocations: 1.639 MB / 1.304 GB, free: 145.3 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.0003482/1.466, allocations: 167.8 kB / 1.304 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0254/1.491, allocations: 10.2 MB / 1.314 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.491, allocations: 7.188 kB / 1.314 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008366/1.5, allocations: 3.32 MB / 1.317 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006035/1.506, allocations: 1.139 MB / 1.318 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.518, allocations: 6.603 MB / 1.325 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.52, allocations: 2.301 MB / 1.327 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003152/1.523, allocations: 0.6306 MB / 1.328 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/1.524, allocations: 191.4 kB / 1.328 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.633e-06/1.524, allocations: 0 / 1.328 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1087/1.633, allocations: 79.96 MB / 1.406 GB, free: 46.47 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)