Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008717/0.0008713, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.005972/0.005972, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 473.4 MB / 0.7469 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 13.94 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3623, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02331/0.3856, allocations: 21.7 MB / 1.095 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.4107, allocations: 17.38 MB / 1.112 GB, free: 284 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.4136, allocations: 103.4 kB / 1.112 GB, free: 180 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.4155, allocations: 0.5815 MB / 1.113 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009839/0.4254, allocations: 3.211 MB / 1.116 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.429, allocations: 1.177 MB / 1.117 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.4414, allocations: 7.048 MB / 1.124 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005325/0.4468, allocations: 2.55 MB / 1.127 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/0.4518, allocations: 2.038 MB / 1.129 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004457/0.4563, allocations: 2.295 MB / 1.131 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006712/0.4569, allocations: 176 kB / 1.131 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.4593, allocations: 1.053 MB / 1.132 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.4603, allocations: 0.9729 MB / 1.133 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.463, allocations: 1.781 MB / 1.135 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005798/0.4688, allocations: 4.939 MB / 1.14 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4688, allocations: 4 kB / 1.14 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4688, allocations: 0 / 1.14 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001468/0.469, allocations: 0 / 1.14 GB, free: 4.168 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.008831/0.4778, allocations: 4.058 MB / 1.144 GB, free: 0 / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.4779, allocations: 8.078 kB / 1.144 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/0.4958, allocations: 3.374 MB / 1.147 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.5002, allocations: 2.088 MB / 1.149 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.5006, allocations: 462.3 kB / 1.149 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007759/0.5014, allocations: 235.9 kB / 1.15 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.5137, allocations: 4.873 MB / 1.154 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.164e-05/0.5138, allocations: 7.938 kB / 1.154 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003328/0.5141, allocations: 104 kB / 1.154 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/0.5143, allocations: 176.8 kB / 1.155 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.5284, allocations: 5.315 MB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.5499, allocations: 14.6 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.5602, allocations: 3.681 MB / 1.178 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004131/0.5644, allocations: 1.6 MB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.5645, allocations: 33.28 kB / 1.179 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004608/0.5691, allocations: 1.903 MB / 1.181 GB, free: 8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 4.268e-06/0.5692, allocations: 0 / 1.181 GB, free: 8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1375/0.7067, allocations: 34.15 MB / 1.214 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003931/0.7071, allocations: 0.4889 MB / 1.215 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.7104, allocations: 2.3 MB / 1.217 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004094/0.7109, allocations: 77.7 kB / 1.217 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.7121, allocations: 1.434 MB / 1.219 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009236/0.713, allocations: 0.8202 MB / 1.219 GB, free: 368 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/0.7134, allocations: 182.4 kB / 1.22 GB, free: 180 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7135, allocations: 305.1 kB / 1.22 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005926/0.7194, allocations: 2.112 MB / 1.222 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007482/0.7269, allocations: 2.426 MB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.7394, allocations: 4.54 MB / 1.229 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.7395, allocations: 0 / 1.229 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02142/0.7609, allocations: 6.91 MB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.7611, allocations: 148.5 kB / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.7611, allocations: 8 kB / 1.236 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/0.7719, allocations: 2.926 MB / 1.239 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.7752, allocations: 0.5657 MB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6996/1.475, allocations: 17.37 MB / 1.256 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004373/1.479, allocations: 419 kB / 1.256 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003861/1.48, allocations: 87.55 kB / 1.256 GB, free: 163.2 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 (162): * Single equations (assignments): 155 * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001562/1.481, allocations: 0.71 MB / 1.257 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/1.482, allocations: 333 kB / 1.258 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/1.483, allocations: 379.2 kB / 1.258 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/1.483, allocations: 29.58 kB / 1.258 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.098e-05/1.483, allocations: 9.281 kB / 1.258 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/1.483, allocations: 14.69 kB / 1.258 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/1.488, allocations: 3.624 MB / 1.261 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.488, allocations: 0 / 1.261 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/1.49, allocations: 0.5003 MB / 1.262 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/1.5, allocations: 2.868 MB / 1.265 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005671/1.501, allocations: 50.52 kB / 1.265 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04163/1.543, allocations: 17.16 MB / 1.282 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.543, allocations: 1.562 kB / 1.282 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/1.563, allocations: 6.552 MB / 1.288 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.565, allocations: 0.7006 MB / 1.289 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.566, allocations: 44.47 kB / 1.289 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/1.57, allocations: 413 kB / 1.289 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00151/1.571, allocations: 348.9 kB / 1.289 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003487/1.572, allocations: 76.45 kB / 1.289 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003445/1.575, allocations: 1.53 MB / 1.291 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.575, allocations: 0 / 1.291 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00475/1.58, allocations: 1.043 MB / 1.292 GB, free: 150.2 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 (118): * Single equations (assignments): 106 * 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,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005649/1.581, allocations: 167.7 kB / 1.292 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0239/1.604, allocations: 6.844 MB / 1.299 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.605, allocations: 0 / 1.299 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/1.622, allocations: 4.239 MB / 1.303 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006823/1.629, allocations: 1.049 MB / 1.304 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/1.646, allocations: 8.134 MB / 1.312 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/1.649, allocations: 2.232 MB / 1.314 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00326/1.652, allocations: 0.5129 MB / 1.315 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009891/1.653, allocations: 172.6 kB / 1.315 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.543e-06/1.653, allocations: 0 / 1.315 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.1016/1.755, allocations: 72.06 MB / 1.385 GB, free: 68.03 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)