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.00146/0.001461, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001428/0.001428, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.473/1.473, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.611/1.611, allocations: 251.6 MB / 0.5089 GB, free: 3.297 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.001504/0.001504, allocations: 63.91 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4909, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02299/0.5139, allocations: 22.25 MB / 0.7457 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02468/0.5387, allocations: 17.55 MB / 0.7629 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004472/0.5432, allocations: 107.4 kB / 0.763 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.5543, allocations: 3.925 MB / 0.7668 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.5666, allocations: 3.197 MB / 0.7699 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.5707, allocations: 1.188 MB / 0.7711 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0096/0.5803, allocations: 5.799 MB / 0.7767 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008064/0.5885, allocations: 4.015 MB / 0.7807 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/0.5932, allocations: 2.46 MB / 0.7831 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/0.5983, allocations: 2.526 MB / 0.7855 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001633/0.6, allocations: 371.9 kB / 0.7859 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.603, allocations: 1.033 MB / 0.7869 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002268/0.6053, allocations: 1.192 MB / 0.7881 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004585/0.6099, allocations: 1.998 MB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007744/0.6177, allocations: 5.186 MB / 0.7951 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6177, allocations: 0 / 0.7951 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6177, allocations: 0 / 0.7951 GB, free: 4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001946/0.6179, allocations: 0 / 0.7951 GB, free: 4 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.01236/0.6303, allocations: 4.612 MB / 0.7996 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.6304, allocations: 8.031 kB / 0.7996 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/0.6462, allocations: 3.265 MB / 0.8028 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/0.6504, allocations: 2.088 MB / 0.8048 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/0.6508, allocations: 470.3 kB / 0.8053 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005763/0.6514, allocations: 231.9 kB / 0.8055 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.6623, allocations: 4.806 MB / 0.8102 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.6624, allocations: 4 kB / 0.8102 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003544/0.6627, allocations: 108 kB / 0.8103 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.6629, allocations: 168.8 kB / 0.8104 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.6768, allocations: 5.198 MB / 0.8155 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02645/0.7033, allocations: 14.48 MB / 0.8297 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009852/0.7132, allocations: 3.4 MB / 0.833 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003833/0.7171, allocations: 1.471 MB / 0.8344 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.7173, allocations: 25.28 kB / 0.8344 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004429/0.7217, allocations: 1.794 MB / 0.8362 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 4.478e-06/0.7218, allocations: 0 / 0.8362 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1186/0.8403, allocations: 28.21 MB / 0.8637 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/0.8406, allocations: 0.4967 MB / 0.8642 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.8435, allocations: 2.3 MB / 0.8665 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004367/0.8439, allocations: 77.7 kB / 0.8665 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.845, allocations: 1.43 MB / 0.8679 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007278/0.8457, allocations: 0.8201 MB / 0.8687 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007712/0.8465, allocations: 412.5 kB / 0.8691 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.8466, allocations: 301.1 kB / 0.8694 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00457/0.8511, allocations: 1.933 MB / 0.8713 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00496/0.8561, allocations: 2.227 MB / 0.8735 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009359/0.8655, allocations: 4.165 MB / 0.8776 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8655, allocations: 0 / 0.8776 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01749/0.883, allocations: 6.543 MB / 0.8839 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.8832, allocations: 144.5 kB / 0.8841 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.8832, allocations: 8 kB / 0.8841 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009601/0.8928, allocations: 2.942 MB / 0.887 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/0.8957, allocations: 487.2 kB / 0.8874 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4871/1.383, allocations: 18.85 MB / 0.9058 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/1.388, allocations: 318.9 kB / 0.9061 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005364/1.389, allocations: 92.88 kB / 0.9062 GB, free: 163.9 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.002151/1.391, allocations: 0.7047 MB / 0.9069 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000936/1.392, allocations: 331.1 kB / 0.9072 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007351/1.393, allocations: 382.7 kB / 0.9076 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/1.393, allocations: 27.22 kB / 0.9076 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-05/1.393, allocations: 9.156 kB / 0.9076 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/1.393, allocations: 12.91 kB / 0.9076 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/1.399, allocations: 3.63 MB / 0.9112 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.399, allocations: 1.688 kB / 0.9112 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/1.402, allocations: 419.8 kB / 0.9116 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/1.412, allocations: 2.896 MB / 0.9144 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006006/1.413, allocations: 52.62 kB / 0.9145 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03795/1.451, allocations: 18.63 MB / 0.9327 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.451, allocations: 3.969 kB / 0.9327 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.468, allocations: 6.181 MB / 0.9387 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/1.47, allocations: 0.6997 MB / 0.9394 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007783/1.471, allocations: 46.83 kB / 0.9394 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.474, allocations: 313.5 kB / 0.9397 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/1.475, allocations: 362.5 kB / 0.9401 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.476, allocations: 62.23 kB / 0.9401 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002056/1.478, allocations: 1.536 MB / 0.9416 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.478, allocations: 0 / 0.9416 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003359/1.481, allocations: 1.048 MB / 0.9427 GB, free: 149.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.0004295/1.481, allocations: 162 kB / 0.9428 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02442/1.506, allocations: 7.311 MB / 0.9499 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.506, allocations: 7.938 kB / 0.95 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01662/1.523, allocations: 4.047 MB / 0.9539 GB, free: 138.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00555/1.528, allocations: 1.137 MB / 0.955 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/1.542, allocations: 8.054 MB / 0.9629 GB, free: 129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/1.544, allocations: 2.227 MB / 0.9651 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002647/1.547, allocations: 0.506 MB / 0.9656 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/1.547, allocations: 191.4 kB / 0.9657 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/1.547, allocations: 0 / 0.9657 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.1125/1.66, allocations: 76.27 MB / 1.04 GB, free: 50.7 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)