Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_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.001329/0.001329, allocations: 109.5 kB / 15.99 MB, free: 6.348 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.001288/0.001288, allocations: 192.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.665 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 55.91 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6401/0.6416, allocations: 140.4 MB / 0.9498 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02157/0.6633, allocations: 22.45 MB / 0.9717 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02626/0.6896, allocations: 17.44 MB / 0.9887 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.6931, allocations: 104 kB / 0.9888 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.7032, allocations: 3.943 MB / 0.9927 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.7144, allocations: 3.192 MB / 0.9958 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.7181, allocations: 1.178 MB / 0.9969 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008815/0.7269, allocations: 5.799 MB / 1.003 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005956/0.7329, allocations: 4.022 MB / 1.007 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.7372, allocations: 2.452 MB / 1.009 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004343/0.7415, allocations: 2.53 MB / 1.011 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000848/0.7424, allocations: 368 kB / 1.012 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.7446, allocations: 1.03 MB / 1.013 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.7458, allocations: 1.199 MB / 1.014 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.7484, allocations: 1.998 MB / 1.016 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.7532, allocations: 4.108 MB / 1.02 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7532, allocations: 0 / 1.02 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7532, allocations: 0 / 1.02 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001191/0.7533, allocations: 0 / 1.02 GB, free: 10.03 MB / 0.7794 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.01005/0.7634, allocations: 4.614 MB / 1.024 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7634, allocations: 8.031 kB / 1.024 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/0.7789, allocations: 3.269 MB / 1.028 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.7834, allocations: 2.084 MB / 1.03 GB, free: 15.87 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/0.7838, allocations: 474.2 kB / 1.03 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008617/0.7847, allocations: 235.9 kB / 1.03 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.7964, allocations: 4.81 MB / 1.035 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.7965, allocations: 3.938 kB / 1.035 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005091/0.797, allocations: 99.98 kB / 1.035 GB, free: 10.05 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/0.7972, allocations: 172.8 kB / 1.035 GB, free: 9.879 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.8103, allocations: 5.194 MB / 1.04 GB, free: 4.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/0.8339, allocations: 14.49 MB / 1.054 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009633/0.8436, allocations: 3.392 MB / 1.058 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/0.8473, allocations: 1.471 MB / 1.059 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.8475, allocations: 21.3 kB / 1.059 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004331/0.8518, allocations: 1.788 MB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=163): time 3.977e-06/0.8518, allocations: 0 / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=250): time 0.1183/0.9701, allocations: 28.22 MB / 1.089 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.9704, allocations: 0.4967 MB / 1.089 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/0.9743, allocations: 2.3 MB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004214/0.9747, allocations: 77.7 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.9761, allocations: 1.43 MB / 1.093 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.9772, allocations: 0.824 MB / 1.094 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.9783, allocations: 416.5 kB / 1.094 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9784, allocations: 301.1 kB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005057/0.9835, allocations: 1.925 MB / 1.096 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005203/0.9887, allocations: 2.235 MB / 1.098 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/0.9987, allocations: 4.161 MB / 1.102 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.9988, allocations: 4 kB / 1.102 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01781/1.017, allocations: 6.535 MB / 1.109 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/1.017, allocations: 148.5 kB / 1.109 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.017, allocations: 4 kB / 1.109 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/1.027, allocations: 2.953 MB / 1.112 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.03, allocations: 487.2 kB / 1.112 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03989/1.07, allocations: 18.86 MB / 1.131 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/1.074, allocations: 323.6 kB / 1.131 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004846/1.074, allocations: 83.98 kB / 1.131 GB, free: 5.523 MB / 0.8887 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.001979/1.076, allocations: 0.7144 MB / 1.132 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008977/1.077, allocations: 332.1 kB / 1.132 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008592/1.078, allocations: 384.1 kB / 1.132 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.078, allocations: 28 kB / 1.132 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-05/1.078, allocations: 8 kB / 1.132 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/1.078, allocations: 11.95 kB / 1.132 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005708/1.084, allocations: 3.628 MB / 1.136 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/1.084, allocations: 0 / 1.136 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.087, allocations: 419.4 kB / 1.136 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/1.097, allocations: 2.896 MB / 1.139 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004423/1.097, allocations: 51.97 kB / 1.139 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03905/1.136, allocations: 18.63 MB / 1.157 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.136, allocations: 4.562 kB / 1.157 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.155, allocations: 6.177 MB / 1.164 GB, free: 3.848 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.156, allocations: 0.6961 MB / 1.164 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000847/1.157, allocations: 47.94 kB / 1.164 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003534/1.161, allocations: 311.6 kB / 1.165 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/1.162, allocations: 362.7 kB / 1.165 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/1.162, allocations: 75.91 kB / 1.165 GB, free: 2.352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002541/1.165, allocations: 1.536 MB / 1.166 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.165, allocations: 0 / 1.166 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003245/1.168, allocations: 1.047 MB / 1.167 GB, free: 15.77 MB / 0.9356 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.0004778/1.169, allocations: 159.7 kB / 1.168 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02549/1.194, allocations: 7.297 MB / 1.175 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.194, allocations: 8.75 kB / 1.175 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01714/1.211, allocations: 4.04 MB / 1.179 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005717/1.217, allocations: 1.139 MB / 1.18 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.235, allocations: 8.235 MB / 1.188 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/1.237, allocations: 2.235 MB / 1.19 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.239, allocations: 199.4 kB / 1.19 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of SimCode: time 1.132e-06/1.239, allocations: 4 kB / 1.19 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.5047/1.743, allocations: 79.95 MB / 1.268 GB, free: 261.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)