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.001106/0.001106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001294/0.001294, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.511/1.511, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.802/1.802, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.00136/0.00136, allocations: 65.62 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2653, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02294/0.2883, allocations: 22.24 MB / 0.8046 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.3127, allocations: 17.56 MB / 0.8217 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004448/0.3172, allocations: 103.4 kB / 0.8218 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.3292, allocations: 3.916 MB / 0.8256 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.3428, allocations: 3.199 MB / 0.8288 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.3462, allocations: 1.174 MB / 0.8299 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007701/0.3539, allocations: 5.804 MB / 0.8356 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005277/0.3592, allocations: 4.015 MB / 0.8395 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.3632, allocations: 2.46 MB / 0.8419 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/0.3676, allocations: 2.522 MB / 0.8444 GB, free: 14.67 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.3687, allocations: 368 kB / 0.8447 GB, free: 14.31 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.3712, allocations: 1.034 MB / 0.8457 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.3724, allocations: 1.199 MB / 0.8469 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002668/0.375, allocations: 2.002 MB / 0.8489 GB, free: 10.06 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.381, allocations: 5.186 MB / 0.8539 GB, free: 4.855 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.381, allocations: 0 / 0.8539 GB, free: 4.855 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.232e-06/0.381, allocations: 0 / 0.8539 GB, free: 4.855 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001297/0.3812, allocations: 0 / 0.8539 GB, free: 4.855 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.01046/0.3916, allocations: 4.612 MB / 0.8584 GB, free: 132 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.3917, allocations: 8.031 kB / 0.8584 GB, free: 124 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.4075, allocations: 3.269 MB / 0.8616 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/0.4122, allocations: 2.084 MB / 0.8637 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.4126, allocations: 470.3 kB / 0.8641 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/0.4132, allocations: 235.9 kB / 0.8643 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.4234, allocations: 4.81 MB / 0.869 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.4235, allocations: 4 kB / 0.869 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.4238, allocations: 108 kB / 0.8691 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.424, allocations: 172.8 kB / 0.8693 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.4366, allocations: 5.198 MB / 0.8744 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02456/0.4612, allocations: 14.47 MB / 0.8885 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009549/0.4708, allocations: 3.394 MB / 0.8918 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003518/0.4744, allocations: 1.475 MB / 0.8933 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.4746, allocations: 25.23 kB / 0.8933 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004005/0.4786, allocations: 1.791 MB / 0.895 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 4.749e-06/0.4786, allocations: 3.938 kB / 0.895 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.5885/1.067, allocations: 28.21 MB / 0.9226 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/1.067, allocations: 0.4912 MB / 0.9231 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/1.071, allocations: 2.296 MB / 0.9253 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004569/1.071, allocations: 76.48 kB / 0.9254 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009707/1.072, allocations: 1.434 MB / 0.9268 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/1.073, allocations: 0.8219 MB / 0.9276 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008347/1.074, allocations: 422.2 kB / 0.928 GB, free: 126 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/1.074, allocations: 305.6 kB / 0.9283 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.079, allocations: 1.931 MB / 0.9302 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005075/1.084, allocations: 2.233 MB / 0.9323 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.094, allocations: 4.159 MB / 0.9364 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.094, allocations: 2.188 kB / 0.9364 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0203/1.114, allocations: 6.534 MB / 0.9428 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.115, allocations: 155 kB / 0.9429 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/1.115, allocations: 15.11 kB / 0.9429 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/1.125, allocations: 2.949 MB / 0.9458 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/1.128, allocations: 483 kB / 0.9463 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03614/1.164, allocations: 18.85 MB / 0.9647 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/1.168, allocations: 324.6 kB / 0.965 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/1.169, allocations: 87.83 kB / 0.9651 GB, free: 108.5 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.00152/1.17, allocations: 0.7067 MB / 0.9658 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000706/1.171, allocations: 335.1 kB / 0.9661 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/1.172, allocations: 385 kB / 0.9665 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.172, allocations: 23.44 kB / 0.9665 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.212e-05/1.172, allocations: 11.19 kB / 0.9665 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.172, allocations: 15.78 kB / 0.9665 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/1.176, allocations: 3.629 MB / 0.9701 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.176, allocations: 3.391 kB / 0.9701 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.178, allocations: 417.9 kB / 0.9705 GB, free: 105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008863/1.187, allocations: 2.89 MB / 0.9733 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/1.187, allocations: 55.38 kB / 0.9733 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03175/1.219, allocations: 18.63 MB / 0.9915 GB, free: 85.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.219, allocations: 3.984 kB / 0.9915 GB, free: 85.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/1.234, allocations: 6.173 MB / 0.9976 GB, free: 79.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.236, allocations: 0.6961 MB / 0.9982 GB, free: 78.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/1.236, allocations: 44 kB / 0.9983 GB, free: 78.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/1.239, allocations: 315.5 kB / 0.9986 GB, free: 78.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/1.241, allocations: 362.7 kB / 0.9989 GB, free: 78.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/1.241, allocations: 67.97 kB / 0.999 GB, free: 78.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001759/1.242, allocations: 1.536 MB / 1 GB, free: 76.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.51e-07/1.242, allocations: 0 / 1 GB, free: 76.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002666/1.245, allocations: 1.051 MB / 1.002 GB, free: 75.56 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.0003456/1.246, allocations: 166.3 kB / 1.002 GB, free: 75.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02238/1.268, allocations: 7.302 MB / 1.009 GB, free: 68.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.268, allocations: 8 kB / 1.009 GB, free: 68.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01546/1.283, allocations: 4.052 MB / 1.013 GB, free: 63.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/1.288, allocations: 1.13 MB / 1.014 GB, free: 62.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/1.301, allocations: 8.046 MB / 1.022 GB, free: 54.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.302, allocations: 2.227 MB / 1.024 GB, free: 52.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002416/1.305, allocations: 0.5097 MB / 1.024 GB, free: 52.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/1.305, allocations: 191.4 kB / 1.025 GB, free: 51.88 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/1.305, allocations: 0 / 1.025 GB, free: 51.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.1312/1.437, allocations: 76.28 MB / 1.099 GB, free: 8.527 MB / 0.7637 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)