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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001234/0.001234, allocations: 192.5 kB / 16.13 MB, free: 6.656 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.611/1.611, allocations: 205.1 MB / 222 MB, free: 4.754 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.725/1.725, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001311/0.001311, allocations: 66.97 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2231, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02476/0.2479, allocations: 22.24 MB / 0.8044 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0313/0.2792, allocations: 17.7 MB / 0.8217 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/0.2827, allocations: 107.4 kB / 0.8218 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009578/0.2923, allocations: 3.902 MB / 0.8256 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009576/0.3018, allocations: 3.195 MB / 0.8287 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.3055, allocations: 1.185 MB / 0.8299 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00858/0.3141, allocations: 7.055 MB / 0.8368 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/0.3181, allocations: 2.503 MB / 0.8392 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/0.3229, allocations: 2.175 MB / 0.8413 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.3289, allocations: 2.455 MB / 0.8437 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.3304, allocations: 228 kB / 0.8439 GB, free: 15.03 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.3336, allocations: 1.104 MB / 0.845 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.335, allocations: 1.067 MB / 0.8461 GB, free: 12.85 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003309/0.3383, allocations: 1.854 MB / 0.8479 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.3438, allocations: 5.081 MB / 0.8528 GB, free: 5.891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3439, allocations: 4 kB / 0.8528 GB, free: 5.887 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3439, allocations: 0 / 0.8528 GB, free: 5.887 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001229/0.344, allocations: 0 / 0.8528 GB, free: 5.887 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.01057/0.3546, allocations: 4.601 MB / 0.8573 GB, free: 1.172 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3546, allocations: 12.03 kB / 0.8573 GB, free: 1.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.3699, allocations: 3.261 MB / 0.8605 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/0.3741, allocations: 2.095 MB / 0.8626 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/0.3745, allocations: 470.2 kB / 0.863 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/0.3752, allocations: 235.9 kB / 0.8632 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.3869, allocations: 4.81 MB / 0.8679 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.753e-05/0.387, allocations: 7.938 kB / 0.8679 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.3874, allocations: 104 kB / 0.868 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.3876, allocations: 172.8 kB / 0.8682 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.4015, allocations: 5.191 MB / 0.8733 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02365/0.4252, allocations: 14.49 MB / 0.8874 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009391/0.4346, allocations: 3.398 MB / 0.8907 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/0.4382, allocations: 1.475 MB / 0.8922 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.4384, allocations: 17.3 kB / 0.8922 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004136/0.4425, allocations: 1.798 MB / 0.894 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 3.727e-06/0.4426, allocations: 4 kB / 0.894 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.5323/0.9748, allocations: 28.2 MB / 0.9215 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.975, allocations: 0.4933 MB / 0.922 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/0.9789, allocations: 2.294 MB / 0.9242 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000535/0.9794, allocations: 76.61 kB / 0.9243 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.9806, allocations: 1.432 MB / 0.9257 GB, free: 126 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008021/0.9814, allocations: 0.8298 MB / 0.9265 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008143/0.9822, allocations: 412.3 kB / 0.9269 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.9823, allocations: 308.4 kB / 0.9272 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/0.9874, allocations: 1.929 MB / 0.9291 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005331/0.9928, allocations: 2.235 MB / 0.9313 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009514/1.002, allocations: 4.161 MB / 0.9353 GB, free: 122 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/1.002, allocations: 0.9688 kB / 0.9353 GB, free: 122 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01924/1.022, allocations: 6.537 MB / 0.9417 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/1.022, allocations: 144.2 kB / 0.9418 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.022, allocations: 10.09 kB / 0.9419 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009862/1.032, allocations: 2.923 MB / 0.9447 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/1.034, allocations: 491.3 kB / 0.9452 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03392/1.068, allocations: 17.33 MB / 0.9621 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.072, allocations: 324.7 kB / 0.9624 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/1.072, allocations: 87.09 kB / 0.9625 GB, free: 109.1 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.001278/1.074, allocations: 0.711 MB / 0.9632 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/1.074, allocations: 335.2 kB / 0.9635 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/1.075, allocations: 378.8 kB / 0.9639 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.075, allocations: 27.45 kB / 0.9639 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-05/1.075, allocations: 7.875 kB / 0.9639 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.075, allocations: 11.95 kB / 0.9639 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/1.078, allocations: 3.637 MB / 0.9675 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.078, allocations: 0 / 0.9675 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.081, allocations: 421.4 kB / 0.9679 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008938/1.09, allocations: 2.872 MB / 0.9707 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003906/1.09, allocations: 51.06 kB / 0.9707 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03107/1.121, allocations: 17.11 MB / 0.9874 GB, free: 89.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.121, allocations: 0 / 0.9874 GB, free: 89.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/1.138, allocations: 6.173 MB / 0.9935 GB, free: 82.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.139, allocations: 0.697 MB / 0.9941 GB, free: 82.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007995/1.14, allocations: 49.56 kB / 0.9942 GB, free: 82.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/1.144, allocations: 315.6 kB / 0.9945 GB, free: 81.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/1.145, allocations: 350.7 kB / 0.9948 GB, free: 81.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/1.145, allocations: 67.97 kB / 0.9949 GB, free: 81.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001811/1.147, allocations: 1.54 MB / 0.9964 GB, free: 79.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.147, allocations: 0 / 0.9964 GB, free: 79.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00303/1.15, allocations: 1.039 MB / 0.9974 GB, free: 78.81 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.000353/1.15, allocations: 167.5 kB / 0.9976 GB, free: 78.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0208/1.171, allocations: 6.455 MB / 1.004 GB, free: 72.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.171, allocations: 4 kB / 1.004 GB, free: 72.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01626/1.187, allocations: 4.043 MB / 1.008 GB, free: 68.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/1.193, allocations: 1.056 MB / 1.009 GB, free: 67.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.207, allocations: 8.026 MB / 1.017 GB, free: 58.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.208, allocations: 2.241 MB / 1.019 GB, free: 56.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002597/1.211, allocations: 0.5129 MB / 1.019 GB, free: 56.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/1.212, allocations: 175.4 kB / 1.02 GB, free: 56.03 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/1.212, allocations: 0 / 1.02 GB, free: 56.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.0984/1.31, allocations: 72.96 MB / 1.091 GB, free: 15.92 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)