Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002086/0.002086, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.62/1.62, allocations: 251.9 MB / 0.51 GB, free: 4.875 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.0005352/0.0005353, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6237, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02203/0.6458, allocations: 19.15 MB / 0.7467 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.6702, allocations: 16.07 MB / 0.7624 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.6737, allocations: 91.44 kB / 0.7624 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.6765, allocations: 0.547 MB / 0.763 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.012/0.6886, allocations: 2.82 MB / 0.7657 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.6926, allocations: 0.953 MB / 0.7667 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009382/0.702, allocations: 3.332 MB / 0.7699 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004609/0.7066, allocations: 2.013 MB / 0.7719 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005211/0.7119, allocations: 1.72 MB / 0.7736 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004728/0.7166, allocations: 1.751 MB / 0.7753 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008795/0.7175, allocations: 164 kB / 0.7754 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.7196, allocations: 483.3 kB / 0.7759 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009644/0.7206, allocations: 0.8488 MB / 0.7767 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.722, allocations: 0.6834 MB / 0.7774 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.7272, allocations: 3.793 MB / 0.7811 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7272, allocations: 3.938 kB / 0.7811 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7272, allocations: 4 kB / 0.7811 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001689/0.7274, allocations: 0 / 0.7811 GB, free: 4.836 MB / 0.5919 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.01011/0.7375, allocations: 3.873 MB / 0.7849 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.7375, allocations: 12.03 kB / 0.7849 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.7545, allocations: 3.401 MB / 0.7882 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.7596, allocations: 1.956 MB / 0.7901 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.7598, allocations: 180.7 kB / 0.7903 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/0.7603, allocations: 224 kB / 0.7905 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.7711, allocations: 4.706 MB / 0.7951 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/0.7712, allocations: 7.938 kB / 0.7951 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.7715, allocations: 108 kB / 0.7952 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/0.7717, allocations: 172.8 kB / 0.7954 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.7853, allocations: 5.218 MB / 0.8005 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/0.8083, allocations: 14.11 MB / 0.8143 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.8191, allocations: 3.85 MB / 0.818 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.8193, allocations: 29.28 kB / 0.818 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004311/0.8236, allocations: 1.816 MB / 0.8198 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 3.777e-06/0.8237, allocations: 0 / 0.8198 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1237/0.9474, allocations: 33.4 MB / 0.8524 GB, free: 9.973 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002746/0.9477, allocations: 0.4967 MB / 0.8529 GB, free: 9.363 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/0.951, allocations: 2.281 MB / 0.8551 GB, free: 7.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004122/0.9514, allocations: 77.7 kB / 0.8552 GB, free: 6.988 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.9527, allocations: 1.426 MB / 0.8566 GB, free: 5.547 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00084/0.9536, allocations: 0.8162 MB / 0.8574 GB, free: 4.719 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.9537, allocations: 48 kB / 0.8575 GB, free: 4.672 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.9539, allocations: 406.6 kB / 0.8578 GB, free: 4.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/0.9587, allocations: 1.917 MB / 0.8597 GB, free: 2.348 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005116/0.9638, allocations: 2.211 MB / 0.8619 GB, free: 56 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005102/0.969, allocations: 2.132 MB / 0.864 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.969, allocations: 4 kB / 0.864 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01566/0.9847, allocations: 6.169 MB / 0.87 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001776/0.9865, allocations: 2.447 MB / 0.8724 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.9866, allocations: 4 kB / 0.8724 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006754/0.9933, allocations: 1.848 MB / 0.8742 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/0.9965, allocations: 0.5929 MB / 0.8748 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/1.02, allocations: 14.8 MB / 0.8892 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.024, allocations: 415.5 kB / 0.8896 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/1.024, allocations: 87.97 kB / 0.8897 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.025, allocations: 4 kB / 0.8897 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/1.039, allocations: 5.746 MB / 0.8953 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.039, allocations: 15.92 kB / 0.8953 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/1.045, allocations: 1.818 MB / 0.8971 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/1.048, allocations: 0.6047 MB / 0.8977 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.512/1.56, allocations: 14.05 MB / 0.9114 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.565, allocations: 405.6 kB / 0.9118 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000435/1.565, allocations: 87.41 kB / 0.9119 GB, free: 159.4 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 ($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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001844/1.567, allocations: 0.7809 MB / 0.9127 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007375/1.568, allocations: 331.4 kB / 0.913 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/1.569, allocations: 393 kB / 0.9133 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/1.569, allocations: 24.58 kB / 0.9134 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-05/1.569, allocations: 9.531 kB / 0.9134 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/1.569, allocations: 12.52 kB / 0.9134 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006053/1.575, allocations: 3.154 MB / 0.9165 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.575, allocations: 5.312 kB / 0.9165 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/1.578, allocations: 0.521 MB / 0.917 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006962/1.585, allocations: 1.712 MB / 0.9187 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003621/1.585, allocations: 56.55 kB / 0.9187 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/1.604, allocations: 14.6 MB / 0.933 GB, free: 151 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.604, allocations: 3.906 kB / 0.933 GB, free: 151 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.618, allocations: 5.775 MB / 0.9386 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002683/1.621, allocations: 0.6647 MB / 0.9393 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008952/1.622, allocations: 54.92 kB / 0.9393 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003112/1.625, allocations: 402.8 kB / 0.9397 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009633/1.626, allocations: 311.3 kB / 0.94 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.626, allocations: 72.34 kB / 0.9401 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002348/1.628, allocations: 1.508 MB / 0.9415 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.628, allocations: 0 / 0.9415 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004982/1.633, allocations: 1.627 MB / 0.9431 GB, free: 148 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 (128): * Single equations (assignments): 116 * 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 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004031/1.634, allocations: 162.1 kB / 0.9433 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02074/1.655, allocations: 10.07 MB / 0.9531 GB, free: 138 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.655, allocations: 4 kB / 0.9531 GB, free: 138 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007641/1.662, allocations: 3.495 MB / 0.9565 GB, free: 134.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/1.667, allocations: 1.009 MB / 0.9575 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.679, allocations: 7.589 MB / 0.9649 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.681, allocations: 2.367 MB / 0.9672 GB, free: 123.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002945/1.684, allocations: 0.6348 MB / 0.9679 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/1.684, allocations: 179.4 kB / 0.968 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.684, allocations: 0 / 0.968 GB, free: 122.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.104/1.788, allocations: 74.05 MB / 1.04 GB, free: 49.58 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) Environment - environmentSimulation: