Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001064/0.001064, allocations: 91.84 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.01071/0.01071, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 222.5 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000748/0.0007478, allocations: 19.72 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2604, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02175/0.2822, allocations: 21.51 MB / 0.8089 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02581/0.308, allocations: 17.5 MB / 0.826 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.3116, allocations: 95.44 kB / 0.8261 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003668/0.3153, allocations: 0.5852 MB / 0.8266 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01208/0.3274, allocations: 3.212 MB / 0.8298 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004177/0.3316, allocations: 1.176 MB / 0.8309 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008944/0.3406, allocations: 7.06 MB / 0.8378 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003573/0.3442, allocations: 2.55 MB / 0.8403 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.3479, allocations: 2.046 MB / 0.8423 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.3519, allocations: 2.288 MB / 0.8445 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005273/0.3525, allocations: 176 kB / 0.8447 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.3547, allocations: 1.053 MB / 0.8457 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008954/0.3556, allocations: 0.9807 MB / 0.8467 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.3578, allocations: 1.785 MB / 0.8484 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.3632, allocations: 4.943 MB / 0.8533 GB, free: 8.309 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3632, allocations: 0 / 0.8533 GB, free: 8.309 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3632, allocations: 0 / 0.8533 GB, free: 8.309 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001045/0.3633, allocations: 3.938 kB / 0.8533 GB, free: 8.305 MB / 0.67 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.009577/0.3729, allocations: 4.068 MB / 0.8572 GB, free: 4.125 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.373, allocations: 8.031 kB / 0.8572 GB, free: 4.117 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.3899, allocations: 3.367 MB / 0.8605 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/0.395, allocations: 2.088 MB / 0.8626 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000474/0.3955, allocations: 466.3 kB / 0.863 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008345/0.3964, allocations: 239.9 kB / 0.8632 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.4079, allocations: 4.877 MB / 0.868 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.408, allocations: 0 / 0.868 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.4083, allocations: 104 kB / 0.8681 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.4085, allocations: 172.8 kB / 0.8683 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.4226, allocations: 5.319 MB / 0.8735 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.4454, allocations: 14.6 MB / 0.8877 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.4568, allocations: 3.691 MB / 0.8913 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004229/0.4611, allocations: 1.6 MB / 0.8929 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.4613, allocations: 25.3 kB / 0.8929 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005325/0.4667, allocations: 1.915 MB / 0.8948 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 6.181e-06/0.4667, allocations: 0 / 0.8948 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.6467/1.113, allocations: 34.11 MB / 0.9281 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.114, allocations: 0.4894 MB / 0.9286 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/1.117, allocations: 2.301 MB / 0.9308 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/1.117, allocations: 76.64 kB / 0.9309 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009486/1.118, allocations: 1.435 MB / 0.9323 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006337/1.119, allocations: 0.8199 MB / 0.9331 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/1.119, allocations: 187.6 kB / 0.9333 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/1.119, allocations: 309.8 kB / 0.9336 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/1.124, allocations: 2.119 MB / 0.9356 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005676/1.13, allocations: 2.411 MB / 0.938 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/1.142, allocations: 4.544 MB / 0.9424 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.142, allocations: 1.125 kB / 0.9424 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02007/1.162, allocations: 6.911 MB / 0.9492 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.163, allocations: 152 kB / 0.9493 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/1.163, allocations: 12.69 kB / 0.9493 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/1.173, allocations: 2.924 MB / 0.9522 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/1.176, allocations: 0.5739 MB / 0.9527 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.035/1.211, allocations: 17.37 MB / 0.9697 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/1.215, allocations: 420.8 kB / 0.9701 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/1.216, allocations: 90.62 kB / 0.9702 GB, free: 106.4 MB / 0.7325 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.001936/1.218, allocations: 0.707 MB / 0.9709 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008844/1.219, allocations: 329.9 kB / 0.9712 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008641/1.22, allocations: 386.6 kB / 0.9716 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.22, allocations: 22.38 kB / 0.9716 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/1.22, allocations: 11.19 kB / 0.9716 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/1.22, allocations: 15.89 kB / 0.9716 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/1.224, allocations: 3.629 MB / 0.9752 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.224, allocations: 0.5625 kB / 0.9752 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002331/1.227, allocations: 0.5056 MB / 0.9757 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008723/1.235, allocations: 2.866 MB / 0.9785 GB, free: 99.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/1.236, allocations: 47.98 kB / 0.9785 GB, free: 99.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03325/1.269, allocations: 17.16 MB / 0.9953 GB, free: 82.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.269, allocations: 0 / 0.9953 GB, free: 82.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.287, allocations: 6.553 MB / 1.002 GB, free: 75.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.289, allocations: 0.6922 MB / 1.002 GB, free: 75.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/1.29, allocations: 51.92 kB / 1.002 GB, free: 74.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003922/1.294, allocations: 407.6 kB / 1.003 GB, free: 74.58 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/1.296, allocations: 354.7 kB / 1.003 GB, free: 74.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/1.296, allocations: 71.53 kB / 1.003 GB, free: 74.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003061/1.299, allocations: 1.536 MB / 1.005 GB, free: 72.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.299, allocations: 0 / 1.005 GB, free: 72.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004324/1.304, allocations: 1.043 MB / 1.006 GB, free: 71.59 MB / 0.7325 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.000564/1.304, allocations: 171 kB / 1.006 GB, free: 71.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02227/1.326, allocations: 6.837 MB / 1.013 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.326, allocations: 8 kB / 1.013 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01685/1.343, allocations: 4.233 MB / 1.017 GB, free: 60.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007098/1.351, allocations: 1.043 MB / 1.018 GB, free: 59.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.367, allocations: 8.128 MB / 1.026 GB, free: 51.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/1.37, allocations: 2.231 MB / 1.028 GB, free: 48.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002957/1.373, allocations: 0.5099 MB / 1.028 GB, free: 48.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/1.373, allocations: 178.8 kB / 1.028 GB, free: 48.11 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.373, allocations: 3.938 kB / 1.028 GB, free: 48.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.1102/1.484, allocations: 72.07 MB / 1.099 GB, free: 8.871 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: