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.0009881/0.0009881, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001076/0.001076, allocations: 172.7 kB / 15.95 MB, free: 208 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.547/1.547, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.625/1.625, allocations: 252 MB / 0.5102 GB, free: 4.812 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.0005591/0.0005592, allocations: 16 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5795, allocations: 106.3 MB / 0.7281 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02193/0.6015, allocations: 20.24 MB / 0.7479 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.6267, allocations: 16.51 MB / 0.764 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004662/0.6314, allocations: 103.4 kB / 0.7641 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.6346, allocations: 0.558 MB / 0.7647 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.6462, allocations: 2.862 MB / 0.7675 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.6504, allocations: 0.9564 MB / 0.7684 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.6611, allocations: 5.772 MB / 0.774 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/0.6659, allocations: 2.021 MB / 0.776 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/0.6704, allocations: 1.864 MB / 0.7778 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/0.6753, allocations: 2.175 MB / 0.7799 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.6765, allocations: 167.8 kB / 0.7801 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.6791, allocations: 0.4916 MB / 0.7806 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.6809, allocations: 0.9147 MB / 0.7815 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00237/0.6833, allocations: 0.6873 MB / 0.7821 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007089/0.6904, allocations: 3.826 MB / 0.7859 GB, free: 208 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.6905, allocations: 4 kB / 0.7859 GB, free: 204 kB / 0.5919 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6905, allocations: 0 / 0.7859 GB, free: 204 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002815/0.6908, allocations: 0 / 0.7859 GB, free: 204 kB / 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.01206/0.7029, allocations: 3.877 MB / 0.7897 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.7029, allocations: 12.03 kB / 0.7897 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.7187, allocations: 3.358 MB / 0.793 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005486/0.7243, allocations: 1.956 MB / 0.7949 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.7245, allocations: 184.7 kB / 0.795 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.7256, allocations: 235.9 kB / 0.7953 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.739, allocations: 4.722 MB / 0.7999 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.833e-05/0.7391, allocations: 3.984 kB / 0.7999 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008/0.7399, allocations: 104 kB / 0.8 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002459/0.7402, allocations: 172.8 kB / 0.8002 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.7543, allocations: 5.226 MB / 0.8053 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02738/0.7817, allocations: 14.1 MB / 0.819 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.7925, allocations: 3.85 MB / 0.8228 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/0.796, allocations: 1.51 MB / 0.8243 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.7962, allocations: 33.22 kB / 0.8243 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004102/0.8003, allocations: 1.818 MB / 0.8261 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 4.028e-06/0.8003, allocations: 0 / 0.8261 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1104/0.9107, allocations: 33.4 MB / 0.8587 GB, free: 3.832 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002835/0.911, allocations: 0.4928 MB / 0.8592 GB, free: 3.227 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004419/0.9154, allocations: 2.273 MB / 0.8614 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000484/0.9159, allocations: 69.7 kB / 0.8615 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.9174, allocations: 1.442 MB / 0.8629 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.9185, allocations: 0.8124 MB / 0.8637 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.9188, allocations: 48 kB / 0.8637 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.919, allocations: 398.7 kB / 0.8641 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004734/0.9238, allocations: 1.921 MB / 0.866 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004737/0.9285, allocations: 2.22 MB / 0.8681 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004812/0.9334, allocations: 2.128 MB / 0.8702 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.9334, allocations: 0 / 0.8702 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01498/0.9484, allocations: 6.165 MB / 0.8762 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003256/0.9488, allocations: 407.5 kB / 0.8766 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.9488, allocations: 8 kB / 0.8766 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006423/0.9552, allocations: 1.844 MB / 0.8784 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.9581, allocations: 0.5891 MB / 0.879 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02372/0.9818, allocations: 14.16 MB / 0.8928 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/0.9858, allocations: 411.5 kB / 0.8932 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005229/0.9863, allocations: 91.97 kB / 0.8933 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9864, allocations: 4 kB / 0.8933 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01465/1.001, allocations: 5.749 MB / 0.8989 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1.001, allocations: 4 kB / 0.8989 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00505/1.006, allocations: 1.822 MB / 0.9007 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.009, allocations: 0.6124 MB / 0.9013 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5256/1.535, allocations: 13.43 MB / 0.9144 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/1.539, allocations: 408.6 kB / 0.9148 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/1.539, allocations: 88.61 kB / 0.9149 GB, free: 160.3 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.001829/1.541, allocations: 0.7793 MB / 0.9156 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007741/1.542, allocations: 330.1 kB / 0.916 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009011/1.543, allocations: 396.6 kB / 0.9163 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/1.543, allocations: 24 kB / 0.9164 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-05/1.543, allocations: 9.594 kB / 0.9164 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/1.543, allocations: 13.22 kB / 0.9164 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/1.548, allocations: 3.166 MB / 0.9195 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/1.548, allocations: 3.781 kB / 0.9195 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/1.551, allocations: 0.5194 MB / 0.92 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005424/1.556, allocations: 1.707 MB / 0.9217 GB, free: 158 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/1.556, allocations: 58.77 kB / 0.9217 GB, free: 158 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.574, allocations: 13.93 MB / 0.9353 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.574, allocations: 3.875 kB / 0.9353 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.586, allocations: 5.777 MB / 0.941 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.588, allocations: 0.6716 MB / 0.9416 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/1.588, allocations: 46.8 kB / 0.9417 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/1.591, allocations: 403 kB / 0.942 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008145/1.592, allocations: 312.2 kB / 0.9423 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.592, allocations: 70.41 kB / 0.9424 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00185/1.594, allocations: 1.51 MB / 0.9439 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.594, allocations: 3.906 kB / 0.9439 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00385/1.598, allocations: 1.624 MB / 0.9455 GB, free: 146.8 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.0003059/1.598, allocations: 167.7 kB / 0.9456 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01847/1.616, allocations: 10.07 MB / 0.9555 GB, free: 136.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.616, allocations: 4 kB / 0.9555 GB, free: 136.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006641/1.623, allocations: 3.495 MB / 0.9589 GB, free: 133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/1.627, allocations: 1.047 MB / 0.9599 GB, free: 132 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.638, allocations: 7.573 MB / 0.9673 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/1.64, allocations: 2.308 MB / 0.9696 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002854/1.643, allocations: 0.6348 MB / 0.9702 GB, free: 121.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006029/1.644, allocations: 179.4 kB / 0.9703 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.644, allocations: 0 / 0.9703 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.1028/1.746, allocations: 74.1 MB / 1.043 GB, free: 48.09 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: