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.001403/0.001403, 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.002194/0.002194, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.859/1.859, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.002201/0.002201, allocations: 72.02 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2308, allocations: 114.5 MB / 0.7834 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02547/0.2563, allocations: 22.43 MB / 0.8053 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.2828, allocations: 17.75 MB / 0.8226 GB, free: 5.199 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.286, allocations: 111.4 kB / 0.8227 GB, free: 5.09 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.297, allocations: 4.156 MB / 0.8268 GB, free: 0.9258 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.3074, allocations: 3.518 MB / 0.8302 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.3108, allocations: 1.309 MB / 0.8315 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007861/0.3187, allocations: 5.773 MB / 0.8371 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006483/0.3252, allocations: 3.6 MB / 0.8406 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/0.3309, allocations: 2.398 MB / 0.843 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006/0.3369, allocations: 2.444 MB / 0.8454 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002004/0.339, allocations: 368 kB / 0.8457 GB, free: 13.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.3424, allocations: 1.041 MB / 0.8467 GB, free: 12.37 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.3444, allocations: 1.188 MB / 0.8479 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00328/0.3477, allocations: 2.002 MB / 0.8498 GB, free: 9.164 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006357/0.3541, allocations: 5.128 MB / 0.8549 GB, free: 4.016 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3541, allocations: 0 / 0.8549 GB, free: 4.016 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3542, allocations: 3.938 kB / 0.8549 GB, free: 4.012 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001536/0.3543, allocations: 0 / 0.8549 GB, free: 4.012 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.01069/0.365, allocations: 4.609 MB / 0.8594 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3651, allocations: 8.031 kB / 0.8594 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.3817, allocations: 3.261 MB / 0.8625 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.3871, allocations: 2.084 MB / 0.8646 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005234/0.3877, allocations: 474.3 kB / 0.865 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009735/0.3887, allocations: 239.9 kB / 0.8653 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.3999, allocations: 4.802 MB / 0.87 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.4, allocations: 11.94 kB / 0.87 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/0.4003, allocations: 104 kB / 0.8701 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.4005, allocations: 172.8 kB / 0.8702 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.4142, allocations: 5.191 MB / 0.8753 GB, free: 14.66 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/0.4376, allocations: 14.49 MB / 0.8895 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.4479, allocations: 3.395 MB / 0.8928 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004047/0.452, allocations: 1.463 MB / 0.8942 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.4522, allocations: 33.28 kB / 0.8942 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004472/0.4566, allocations: 1.79 MB / 0.896 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 4.308e-06/0.4567, allocations: 0 / 0.896 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.6378/1.095, allocations: 28.2 MB / 0.9235 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/1.095, allocations: 0.4918 MB / 0.924 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/1.099, allocations: 2.298 MB / 0.9262 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006061/1.1, allocations: 76.2 kB / 0.9263 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.101, allocations: 1.439 MB / 0.9277 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008424/1.102, allocations: 0.8178 MB / 0.9285 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000896/1.103, allocations: 414.3 kB / 0.9289 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.152e-05/1.103, allocations: 312.1 kB / 0.9292 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005277/1.108, allocations: 1.928 MB / 0.9311 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005444/1.114, allocations: 2.233 MB / 0.9333 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.125, allocations: 4.156 MB / 0.9373 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/1.125, allocations: 4.125 kB / 0.9373 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02155/1.147, allocations: 6.538 MB / 0.9437 GB, free: 120 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.147, allocations: 150.1 kB / 0.9439 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/1.147, allocations: 9.938 kB / 0.9439 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/1.158, allocations: 2.95 MB / 0.9468 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/1.161, allocations: 483.9 kB / 0.9472 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0367/1.197, allocations: 18.85 MB / 0.9656 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/1.202, allocations: 320.5 kB / 0.9659 GB, free: 108 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/1.202, allocations: 89.75 kB / 0.966 GB, free: 108 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.001372/1.203, allocations: 0.7009 MB / 0.9667 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006978/1.204, allocations: 340.2 kB / 0.967 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/1.205, allocations: 384 kB / 0.9674 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/1.205, allocations: 23.19 kB / 0.9674 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.795e-05/1.205, allocations: 10.09 kB / 0.9674 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.205, allocations: 13.36 kB / 0.9674 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/1.209, allocations: 3.63 MB / 0.971 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.209, allocations: 3.984 kB / 0.971 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/1.211, allocations: 413.4 kB / 0.9714 GB, free: 104.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008538/1.22, allocations: 2.897 MB / 0.9742 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004396/1.22, allocations: 55.12 kB / 0.9743 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03234/1.253, allocations: 18.63 MB / 0.9925 GB, free: 85.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.253, allocations: 0 / 0.9925 GB, free: 85.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.269, allocations: 6.185 MB / 0.9985 GB, free: 78.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/1.271, allocations: 0.6922 MB / 0.9992 GB, free: 78.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/1.272, allocations: 51.27 kB / 0.9992 GB, free: 78.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/1.275, allocations: 311.6 kB / 0.9995 GB, free: 77.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/1.276, allocations: 350.7 kB / 0.9999 GB, free: 77.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.276, allocations: 71.97 kB / 0.9999 GB, free: 77.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001609/1.277, allocations: 1.532 MB / 1.001 GB, free: 75.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.277, allocations: 0 / 1.001 GB, free: 75.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002586/1.28, allocations: 1.055 MB / 1.002 GB, free: 74.84 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.0003061/1.28, allocations: 161.5 kB / 1.003 GB, free: 74.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03016/1.311, allocations: 7.3 MB / 1.01 GB, free: 67.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.311, allocations: 4 kB / 1.01 GB, free: 67.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02128/1.332, allocations: 4.045 MB / 1.014 GB, free: 63.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007707/1.34, allocations: 1.144 MB / 1.015 GB, free: 62.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.358, allocations: 6.779 MB / 1.021 GB, free: 55.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/1.359, allocations: 2.227 MB / 1.024 GB, free: 53.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002689/1.362, allocations: 0.5048 MB / 1.024 GB, free: 52.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006549/1.362, allocations: 191.4 kB / 1.024 GB, free: 52.43 MB / 0.7325 GB Notification: Performance of SimCode: time 9.21e-07/1.362, allocations: 0 / 1.024 GB, free: 52.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.1213/1.484, allocations: 77.59 MB / 1.1 GB, free: 7.77 MB / 0.7638 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (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)