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.001312/0.001312, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001347/0.001347, allocations: 199.4 kB / 16.26 MB, free: 6.621 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 65.36 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3607, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02615/0.3869, allocations: 22.42 MB / 1.09 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02976/0.4167, allocations: 17.45 MB / 1.107 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004448/0.4212, allocations: 111.3 kB / 1.107 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.4329, allocations: 3.918 MB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.4465, allocations: 3.184 MB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.4514, allocations: 1.2 MB / 1.115 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.4615, allocations: 5.579 MB / 1.12 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0081/0.4696, allocations: 3.964 MB / 1.124 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.4746, allocations: 2.335 MB / 1.126 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.4794, allocations: 2.479 MB / 1.129 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.481, allocations: 356 kB / 1.129 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.4843, allocations: 1.014 MB / 1.13 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.4865, allocations: 1.16 MB / 1.131 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004286/0.4908, allocations: 1.959 MB / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00824/0.4991, allocations: 5.058 MB / 1.138 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4991, allocations: 0 / 1.138 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4991, allocations: 4 kB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002283/0.4993, allocations: 0 / 1.138 GB, free: 2.367 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.0113/0.5107, allocations: 4.394 MB / 1.142 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5107, allocations: 8.031 kB / 1.142 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.527, allocations: 3.261 MB / 1.146 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005761/0.5328, allocations: 2.06 MB / 1.148 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.533, allocations: 173.1 kB / 1.148 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.5341, allocations: 240.1 kB / 1.148 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.5465, allocations: 4.693 MB / 1.153 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.338e-05/0.5466, allocations: 0 / 1.153 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000575/0.5472, allocations: 108 kB / 1.153 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.5474, allocations: 168.8 kB / 1.153 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.561, allocations: 5.12 MB / 1.158 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02532/0.5863, allocations: 14 MB / 1.172 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.5982, allocations: 3.558 MB / 1.175 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/0.6019, allocations: 1.389 MB / 1.176 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.6021, allocations: 29.14 kB / 1.176 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004274/0.6064, allocations: 1.7 MB / 1.178 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 5.02e-06/0.6064, allocations: 0 / 1.178 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1206/0.727, allocations: 27.42 MB / 1.205 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000257/0.7273, allocations: 0.4889 MB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.731, allocations: 2.304 MB / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004029/0.7314, allocations: 77.7 kB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.7326, allocations: 1.434 MB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009417/0.7336, allocations: 0.8201 MB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.7346, allocations: 416.4 kB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.7347, allocations: 305.1 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/0.7397, allocations: 1.755 MB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/0.7449, allocations: 2.049 MB / 1.214 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009972/0.7549, allocations: 3.833 MB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.755, allocations: 8 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01679/0.7718, allocations: 5.798 MB / 1.224 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.772, allocations: 152.5 kB / 1.224 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.772, allocations: 4 kB / 1.224 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006877/0.7789, allocations: 1.856 MB / 1.226 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.7818, allocations: 0.4914 MB / 1.226 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02349/0.8054, allocations: 15.43 MB / 1.241 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/0.8091, allocations: 307.6 kB / 1.241 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004458/0.8096, allocations: 87.97 kB / 1.242 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006082/0.8157, allocations: 2.327 MB / 1.244 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004938/0.8207, allocations: 2.02 MB / 1.246 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5404/1.361, allocations: 3.798 MB / 1.25 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.091e-05/1.361, allocations: 1.406 kB / 1.25 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01572/1.377, allocations: 5.649 MB / 1.255 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/1.377, allocations: 147 kB / 1.255 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.377, allocations: 5.344 kB / 1.255 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00593/1.383, allocations: 1.689 MB / 1.257 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.386, allocations: 0.5153 MB / 1.257 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/1.408, allocations: 14.61 MB / 1.272 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/1.413, allocations: 320 kB / 1.272 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/1.413, allocations: 87.64 kB / 1.272 GB, free: 158.5 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.0008407/1.414, allocations: 322.8 kB / 1.272 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007719/1.415, allocations: 332.3 kB / 1.273 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008213/1.416, allocations: 393.9 kB / 1.273 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/1.416, allocations: 24.59 kB / 1.273 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.434e-05/1.416, allocations: 12.66 kB / 1.273 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/1.416, allocations: 15.27 kB / 1.273 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/1.42, allocations: 3.164 MB / 1.276 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.42, allocations: 0.6094 kB / 1.276 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/1.423, allocations: 430.8 kB / 1.277 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006938/1.43, allocations: 1.717 MB / 1.278 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004745/1.431, allocations: 52.02 kB / 1.278 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/1.454, allocations: 15.23 MB / 1.293 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.454, allocations: 0 / 1.293 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.469, allocations: 5.417 MB / 1.298 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.471, allocations: 0.666 MB / 1.299 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009255/1.471, allocations: 47.75 kB / 1.299 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/1.474, allocations: 307.2 kB / 1.299 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008888/1.475, allocations: 294.9 kB / 1.3 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.476, allocations: 70.59 kB / 1.3 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001915/1.477, allocations: 1.535 MB / 1.301 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.477, allocations: 0 / 1.301 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00377/1.481, allocations: 1.636 MB / 1.303 GB, free: 145 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.0003221/1.482, allocations: 164.1 kB / 1.303 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02306/1.505, allocations: 10.2 MB / 1.313 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/1.505, allocations: 0 / 1.313 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007915/1.513, allocations: 3.326 MB / 1.316 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005287/1.518, allocations: 1.139 MB / 1.317 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/1.53, allocations: 7.869 MB / 1.325 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.532, allocations: 2.301 MB / 1.327 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002883/1.535, allocations: 0.6367 MB / 1.328 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/1.535, allocations: 187.4 kB / 1.328 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/1.535, allocations: 0 / 1.328 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.09667/1.632, allocations: 79.42 MB / 1.406 GB, free: 45.81 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)