Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.001387/0.001387, 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.00153/0.00153, allocations: 194.1 kB / 16.14 MB, free: 6.652 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.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.632/1.632, allocations: 251.6 MB / 0.5088 GB, free: 3.363 MB / 414.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.0015/0.001501, allocations: 63.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5072, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02628/0.5336, allocations: 22.23 MB / 0.7455 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.5576, allocations: 17.7 MB / 0.7628 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.5612, allocations: 107.4 kB / 0.7629 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.5715, allocations: 3.906 MB / 0.7667 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.5822, allocations: 3.209 MB / 0.7699 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.5858, allocations: 1.179 MB / 0.771 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.5973, allocations: 7.062 MB / 0.7779 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004608/0.602, allocations: 2.499 MB / 0.7803 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/0.6068, allocations: 2.175 MB / 0.7825 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004993/0.6118, allocations: 2.452 MB / 0.7849 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009034/0.6127, allocations: 232 kB / 0.7851 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.6153, allocations: 1.111 MB / 0.7862 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.6163, allocations: 1.063 MB / 0.7872 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002745/0.6191, allocations: 1.865 MB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005641/0.6247, allocations: 5.061 MB / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6248, allocations: 0 / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6248, allocations: 0 / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001319/0.6249, allocations: 0 / 0.794 GB, free: 4.992 MB / 0.6075 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.01063/0.6356, allocations: 4.624 MB / 0.7985 GB, free: 260 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6356, allocations: 8.031 kB / 0.7985 GB, free: 252 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.6512, allocations: 3.265 MB / 0.8017 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.6564, allocations: 2.08 MB / 0.8037 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007068/0.6572, allocations: 470.3 kB / 0.8042 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.6587, allocations: 235.9 kB / 0.8044 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.6705, allocations: 4.81 MB / 0.8091 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.6705, allocations: 0 / 0.8091 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/0.6709, allocations: 112 kB / 0.8092 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.6711, allocations: 168.8 kB / 0.8094 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.6844, allocations: 5.202 MB / 0.8144 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02791/0.7124, allocations: 14.47 MB / 0.8286 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009825/0.7223, allocations: 3.392 MB / 0.8319 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/0.726, allocations: 1.471 MB / 0.8333 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.7262, allocations: 25.28 kB / 0.8333 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00434/0.7306, allocations: 1.8 MB / 0.8351 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 3.777e-06/0.7306, allocations: 0 / 0.8351 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1253/0.8559, allocations: 28.22 MB / 0.8627 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.8562, allocations: 0.4889 MB / 0.8631 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/0.86, allocations: 2.3 MB / 0.8654 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000649/0.8607, allocations: 73.7 kB / 0.8654 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.8621, allocations: 1.438 MB / 0.8669 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.8632, allocations: 0.8202 MB / 0.8677 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.8644, allocations: 408.5 kB / 0.868 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.8645, allocations: 305.1 kB / 0.8683 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005246/0.8698, allocations: 1.929 MB / 0.8702 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/0.8753, allocations: 2.239 MB / 0.8724 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.8856, allocations: 4.165 MB / 0.8765 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.8857, allocations: 0 / 0.8765 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02024/0.9059, allocations: 6.539 MB / 0.8829 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.9061, allocations: 144.5 kB / 0.883 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.9061, allocations: 4 kB / 0.883 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.9168, allocations: 2.926 MB / 0.8859 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.9198, allocations: 491.2 kB / 0.8863 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03972/0.9596, allocations: 17.35 MB / 0.9033 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/0.9639, allocations: 319.6 kB / 0.9036 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006106/0.9646, allocations: 87.97 kB / 0.9037 GB, free: 2.039 MB / 0.7169 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.002129/0.9667, allocations: 0.7027 MB / 0.9043 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009105/0.9677, allocations: 336.1 kB / 0.9047 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.9685, allocations: 384 kB / 0.905 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.9685, allocations: 27.94 kB / 0.9051 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/0.9686, allocations: 8 kB / 0.9051 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.9686, allocations: 15.94 kB / 0.9051 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4312/1.4, allocations: 3.621 MB / 0.9086 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/1.4, allocations: 1.516 kB / 0.9086 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.403, allocations: 417.7 kB / 0.909 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01221/1.415, allocations: 2.865 MB / 0.9118 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007213/1.416, allocations: 50.95 kB / 0.9119 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03788/1.454, allocations: 17.11 MB / 0.9286 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.454, allocations: 1.156 kB / 0.9286 GB, free: 157.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/1.474, allocations: 6.175 MB / 0.9346 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/1.476, allocations: 0.7006 MB / 0.9353 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.477, allocations: 51.11 kB / 0.9353 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.481, allocations: 311.8 kB / 0.9356 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/1.482, allocations: 350.5 kB / 0.936 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/1.482, allocations: 75.84 kB / 0.936 GB, free: 155 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002181/1.484, allocations: 1.532 MB / 0.9375 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.484, allocations: 0 / 0.9375 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0033/1.488, allocations: 1.044 MB / 0.9386 GB, free: 153.7 MB / 0.7169 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.0003797/1.488, allocations: 170.7 kB / 0.9387 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01949/1.508, allocations: 6.448 MB / 0.945 GB, free: 147 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.508, allocations: 4 kB / 0.945 GB, free: 147 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01548/1.523, allocations: 4.044 MB / 0.949 GB, free: 143 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004917/1.528, allocations: 1.052 MB / 0.95 GB, free: 142 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.54, allocations: 8.041 MB / 0.9578 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.542, allocations: 2.234 MB / 0.96 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00246/1.544, allocations: 0.5102 MB / 0.9605 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/1.545, allocations: 171.4 kB / 0.9607 GB, free: 131 MB / 0.7169 GB Notification: Performance of SimCode: time 1.323e-06/1.545, allocations: 0 / 0.9607 GB, free: 131 MB / 0.7169 GB Notification: Performance of Templates: time 0.09919/1.644, allocations: 72.96 MB / 1.032 GB, free: 58.86 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)