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.007068/0.007068, allocations: 101.6 kB / 15.73 MB, free: 6.484 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.001463/0.001463, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.692/1.692, allocations: 251.7 MB / 0.5094 GB, free: 3 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.00142/0.00142, allocations: 71.89 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2453, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02484/0.2702, allocations: 22.43 MB / 0.85 GB, free: 9.633 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.2962, allocations: 17.75 MB / 0.8673 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004797/0.301, allocations: 107.4 kB / 0.8674 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.012/0.3131, allocations: 4.172 MB / 0.8715 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.3263, allocations: 3.513 MB / 0.8749 GB, free: 16 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.3303, allocations: 1.319 MB / 0.8762 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008897/0.3392, allocations: 5.781 MB / 0.8818 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005433/0.3447, allocations: 3.588 MB / 0.8854 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004796/0.3495, allocations: 2.484 MB / 0.8878 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004834/0.3544, allocations: 2.444 MB / 0.8902 GB, free: 300 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.3556, allocations: 372 kB / 0.8905 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.3585, allocations: 1.037 MB / 0.8915 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.3601, allocations: 1.196 MB / 0.8927 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003534/0.3637, allocations: 1.986 MB / 0.8946 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006909/0.3706, allocations: 5.179 MB / 0.8997 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3706, allocations: 0 / 0.8997 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3707, allocations: 3.938 kB / 0.8997 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001405/0.3708, allocations: 4 kB / 0.8997 GB, free: 6.492 MB / 0.7169 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.01101/0.3818, allocations: 4.609 MB / 0.9042 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.3819, allocations: 12.03 kB / 0.9042 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5604/0.9423, allocations: 3.255 MB / 0.9074 GB, free: 70.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007741/0.9502, allocations: 2.234 MB / 0.9096 GB, free: 70.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005546/0.9508, allocations: 466.9 kB / 0.91 GB, free: 69.85 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.9519, allocations: 232.1 kB / 0.9102 GB, free: 69.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.966, allocations: 4.817 MB / 0.9149 GB, free: 68.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.9661, allocations: 8.938 kB / 0.915 GB, free: 68.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.9665, allocations: 102.2 kB / 0.9151 GB, free: 68.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003448/0.9668, allocations: 170.3 kB / 0.9152 GB, free: 68.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.9835, allocations: 5.195 MB / 0.9203 GB, free: 66.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/1.012, allocations: 14.38 MB / 0.9343 GB, free: 56.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/1.023, allocations: 3.392 MB / 0.9376 GB, free: 55.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/1.028, allocations: 1.47 MB / 0.9391 GB, free: 54.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/1.028, allocations: 23.86 kB / 0.9391 GB, free: 54.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005154/1.033, allocations: 1.793 MB / 0.9409 GB, free: 53.22 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 6.582e-06/1.033, allocations: 0 / 0.9409 GB, free: 53.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.127/1.16, allocations: 28.24 MB / 0.9684 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/1.161, allocations: 496.7 kB / 0.9689 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/1.164, allocations: 2.3 MB / 0.9712 GB, free: 30.61 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004648/1.164, allocations: 77.7 kB / 0.9712 GB, free: 30.53 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009948/1.165, allocations: 1.434 MB / 0.9726 GB, free: 29.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007568/1.166, allocations: 0.819 MB / 0.9734 GB, free: 28.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008044/1.167, allocations: 416.4 kB / 0.9738 GB, free: 27.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.719e-05/1.167, allocations: 309.1 kB / 0.9741 GB, free: 27.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/1.172, allocations: 1.925 MB / 0.976 GB, free: 25.62 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004826/1.176, allocations: 2.231 MB / 0.9782 GB, free: 23.31 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009448/1.186, allocations: 4.165 MB / 0.9822 GB, free: 19.01 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.186, allocations: 4.688 kB / 0.9823 GB, free: 19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01701/1.203, allocations: 6.539 MB / 0.9886 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/1.203, allocations: 150.9 kB / 0.9888 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.203, allocations: 4 kB / 0.9888 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008992/1.212, allocations: 2.924 MB / 0.9916 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/1.215, allocations: 491.2 kB / 0.9921 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03798/1.253, allocations: 18.84 MB / 1.011 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/1.258, allocations: 323.6 kB / 1.011 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/1.258, allocations: 87.98 kB / 1.011 GB, free: 5.352 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.001744/1.26, allocations: 0.7066 MB / 1.012 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007541/1.261, allocations: 332.1 kB / 1.012 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007357/1.261, allocations: 392 kB / 1.012 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/1.261, allocations: 24 kB / 1.012 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-05/1.262, allocations: 8 kB / 1.012 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.262, allocations: 11.95 kB / 1.012 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00532/1.267, allocations: 3.625 MB / 1.016 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/1.267, allocations: 3.938 kB / 1.016 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002627/1.27, allocations: 415.4 kB / 1.016 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/1.28, allocations: 2.872 MB / 1.019 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005987/1.28, allocations: 47.97 kB / 1.019 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04016/1.32, allocations: 18.61 MB / 1.037 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.321, allocations: 0 / 1.037 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.34, allocations: 6.173 MB / 1.043 GB, free: 3.801 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003308/1.343, allocations: 0.7039 MB / 1.044 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009238/1.344, allocations: 47.94 kB / 1.044 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/1.348, allocations: 315.6 kB / 1.044 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/1.349, allocations: 358.7 kB / 1.045 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002557/1.35, allocations: 67.97 kB / 1.045 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002613/1.352, allocations: 1.532 MB / 1.046 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.31e-07/1.352, allocations: 0 / 1.046 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004628/1.357, allocations: 1.046 MB / 1.047 GB, free: 15.73 MB / 0.7794 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.0006064/1.357, allocations: 172 kB / 1.047 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0242/1.382, allocations: 6.472 MB / 1.054 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.105e-05/1.382, allocations: 0 / 1.054 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01811/1.4, allocations: 4.052 MB / 1.058 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/1.406, allocations: 1.144 MB / 1.059 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/1.423, allocations: 6.697 MB / 1.065 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/1.425, allocations: 2.231 MB / 1.068 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002747/1.428, allocations: 0.5021 MB / 1.068 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/1.429, allocations: 195.4 kB / 1.068 GB, free: 10.14 MB / 0.795 GB Notification: Performance of SimCode: time 1.152e-06/1.429, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.795 GB Notification: Performance of Templates: time 0.1303/1.559, allocations: 77.58 MB / 1.144 GB, free: 13.54 MB / 0.8731 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)