Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.3 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 173.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008934/0.0008935, allocations: 93.16 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004161, allocations: 20.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2205, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01716/0.2378, allocations: 19.17 MB / 0.9981 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02251/0.2603, allocations: 16.06 MB / 1.014 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004565/0.2649, allocations: 95.38 kB / 1.014 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.2687, allocations: 0.5509 MB / 1.014 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.2832, allocations: 2.827 MB / 1.017 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.2874, allocations: 0.9421 MB / 1.018 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009082/0.2965, allocations: 3.418 MB / 1.021 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006236/0.3028, allocations: 2.063 MB / 1.023 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.3073, allocations: 1.822 MB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004793/0.3121, allocations: 1.794 MB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.3137, allocations: 176 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.3165, allocations: 487.4 kB / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002009/0.3185, allocations: 0.88 MB / 1.029 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.3204, allocations: 0.6912 MB / 1.029 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006548/0.327, allocations: 3.908 MB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.327, allocations: 0 / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.695e-06/0.327, allocations: 0 / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002607/0.3273, allocations: 0 / 1.033 GB, free: 4.637 MB / 0.6511 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.0117/0.339, allocations: 4.095 MB / 1.037 GB, free: 440 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3391, allocations: 8.031 kB / 1.037 GB, free: 432 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.3567, allocations: 3.409 MB / 1.04 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005832/0.3626, allocations: 1.987 MB / 1.042 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/0.3632, allocations: 465.7 kB / 1.043 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.3643, allocations: 236 kB / 1.043 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.3784, allocations: 4.83 MB / 1.048 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-05/0.3785, allocations: 7.938 kB / 1.048 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000759/0.3793, allocations: 104 kB / 1.048 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.3796, allocations: 172.8 kB / 1.048 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.3954, allocations: 5.3 MB / 1.053 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5012/0.8966, allocations: 14.59 MB / 1.067 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.9087, allocations: 3.67 MB / 1.071 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.9089, allocations: 27.88 kB / 1.071 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005533/0.9145, allocations: 1.907 MB / 1.073 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 4.459e-06/0.9145, allocations: 0 / 1.073 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1376/1.052, allocations: 34.1 MB / 1.106 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/1.052, allocations: 0.4885 MB / 1.107 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/1.056, allocations: 2.275 MB / 1.109 GB, free: 69.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006275/1.057, allocations: 76.61 kB / 1.109 GB, free: 69.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.058, allocations: 1.434 MB / 1.11 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009069/1.059, allocations: 0.8212 MB / 1.111 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/1.059, allocations: 47.22 kB / 1.111 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.059, allocations: 396.2 kB / 1.112 GB, free: 67.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00489/1.064, allocations: 2.112 MB / 1.114 GB, free: 66.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005104/1.069, allocations: 2.397 MB / 1.116 GB, free: 64.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/1.074, allocations: 2.291 MB / 1.118 GB, free: 63.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.074, allocations: 0 / 1.118 GB, free: 63.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01696/1.091, allocations: 6.885 MB / 1.125 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/1.091, allocations: 148.5 kB / 1.125 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.091, allocations: 4 kB / 1.125 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009002/1.1, allocations: 2.945 MB / 1.128 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/1.103, allocations: 0.5702 MB / 1.128 GB, free: 52.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03342/1.136, allocations: 18.15 MB / 1.146 GB, free: 34.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/1.141, allocations: 415.6 kB / 1.147 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/1.141, allocations: 94.03 kB / 1.147 GB, free: 33.88 MB / 0.6823 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001578/1.142, allocations: 0.7099 MB / 1.147 GB, free: 33.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007254/1.143, allocations: 337.9 kB / 1.148 GB, free: 32.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/1.144, allocations: 380.1 kB / 1.148 GB, free: 32.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/1.144, allocations: 24 kB / 1.148 GB, free: 32.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.604e-05/1.144, allocations: 15.95 kB / 1.148 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/1.144, allocations: 11.95 kB / 1.148 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/1.148, allocations: 3.632 MB / 1.152 GB, free: 28.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.148, allocations: 0 / 1.152 GB, free: 28.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/1.151, allocations: 0.4994 MB / 1.152 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008786/1.16, allocations: 2.866 MB / 1.155 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003908/1.16, allocations: 51.97 kB / 1.155 GB, free: 25.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03339/1.193, allocations: 17.94 MB / 1.172 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.193, allocations: 0 / 1.172 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/1.21, allocations: 6.526 MB / 1.179 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/1.213, allocations: 0.7001 MB / 1.18 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006708/1.213, allocations: 51.45 kB / 1.18 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/1.217, allocations: 407.6 kB / 1.18 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001231/1.218, allocations: 366.6 kB / 1.18 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/1.218, allocations: 71.97 kB / 1.18 GB, free: 15.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002438/1.221, allocations: 1.509 MB / 1.182 GB, free: 13.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.221, allocations: 0 / 1.182 GB, free: 13.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003759/1.224, allocations: 1.047 MB / 1.183 GB, free: 12.45 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/1.225, allocations: 164.6 kB / 1.183 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02351/1.248, allocations: 6.821 MB / 1.19 GB, free: 5.363 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.248, allocations: 128 / 1.19 GB, free: 5.363 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0174/1.266, allocations: 4.231 MB / 1.194 GB, free: 1.109 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/1.271, allocations: 1.009 MB / 1.195 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.286, allocations: 7.744 MB / 1.202 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/1.289, allocations: 2.289 MB / 1.205 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002811/1.291, allocations: 0.5177 MB / 1.205 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/1.292, allocations: 171.4 kB / 1.205 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of SimCode: time 3.827e-06/1.292, allocations: 0 / 1.205 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of Templates: time 0.1208/1.413, allocations: 70.08 MB / 1.274 GB, free: 15.92 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)